reneame app-vniigaz
parent
1c2762b601
commit
eff9067b70
|
|
@ -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())
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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>()
|
||||
|
|
|
|||
Loading…
Reference in New Issue