reneame app-vniigaz

master
Boris Voropaev 2023-11-08 11:00:43 +03:00
parent 1c2762b601
commit eff9067b70
3 changed files with 1 additions and 4 deletions

View File

@ -36,11 +36,10 @@ export class HeaderComponent {
this.listsService.result('showSettingSite').next(false);
}
this.controlsSubscriptionMenu = this.listsService.controls('headerMenu').subscribe(controls => {
console.log('controlsSubscriptionMenu')
this.fetchMenu();
});
this.resultSubscriptionMenu = this.listsService.result('headerMenu').subscribe(res => {
console.log('resultSubscriptionMenu')
this.menuItems = res?.data || [];
});
this.listsService.changed.subscribe(event=>this.fetchMenu())

View File

@ -57,7 +57,6 @@ export class LeftContentComponent {
resp => {
let page = resp?.data;
if (page){
console.log(page.parents.data);
this.background = page.image?.data?.links?.full;
if (this.background) this.background = `url(${this.background})`;
this.pageName = (page.parents.data[2]||page).name;

View File

@ -14,7 +14,6 @@ export class DropDownComponent {
ngOnChanges(){
if(this.target) this.target.hidden = !this.visible;
console.log(this.target)
}
@Output() toggle = new EventEmitter<boolean>()