[Monitor]: app.component.ts: [Bug fix] Added check to create IntersectionObserver only on client side | Updated libraries.
This commit is contained in:
parent
395a6d6c78
commit
20f1752173
|
@ -190,10 +190,12 @@ export class AppComponent {
|
||||||
new MenuItem("", "Contact us", "https://beta.openaire.eu/contact-us", "", false, [], [], {})
|
new MenuItem("", "Contact us", "https://beta.openaire.eu/contact-us", "", false, [], [], {})
|
||||||
];
|
];
|
||||||
this.showMenu = true;
|
this.showMenu = true;
|
||||||
|
if(typeof document !== 'undefined') {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.createObservers();
|
this.createObservers();
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public setUserMenu() {
|
public setUserMenu() {
|
||||||
this.userMenuItems = [];
|
this.userMenuItems = [];
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 4216be29cd8eb993831cc96e5540b8631333856c
|
Subproject commit 10b386179c34b3e33e4466b17a9622c7c81e67fc
|
|
@ -1 +1 @@
|
||||||
Subproject commit 4c1a6f10dd883650605a0df40c5ba296bf15977d
|
Subproject commit 24779729b6f6bd4f099ed5645786b6452120d3d6
|
|
@ -1 +1 @@
|
||||||
Subproject commit 35ab282e53ad5b7790bc431820a4400cfc36c977
|
Subproject commit a9acdff7b3249794e002bffff52c07babc3d9d06
|
Loading…
Reference in New Issue