[Monitor]: app.component.ts: [Bug fix] Added check to create IntersectionObserver only on client side | Updated libraries.

This commit is contained in:
Konstantina Galouni 2022-11-21 15:54:44 +02:00
parent 395a6d6c78
commit 20f1752173
4 changed files with 8 additions and 6 deletions

View File

@ -190,9 +190,11 @@ export class AppComponent {
new MenuItem("", "Contact us", "https://beta.openaire.eu/contact-us", "", false, [], [], {})
];
this.showMenu = true;
setTimeout(() => {
this.createObservers();
})
if(typeof document !== 'undefined') {
setTimeout(() => {
this.createObservers();
})
}
}
public setUserMenu() {

@ -1 +1 @@
Subproject commit 4216be29cd8eb993831cc96e5540b8631333856c
Subproject commit 10b386179c34b3e33e4466b17a9622c7c81e67fc

@ -1 +1 @@
Subproject commit 4c1a6f10dd883650605a0df40c5ba296bf15977d
Subproject commit 24779729b6f6bd4f099ed5645786b6452120d3d6

@ -1 +1 @@
Subproject commit 35ab282e53ad5b7790bc431820a4400cfc36c977
Subproject commit a9acdff7b3249794e002bffff52c07babc3d9d06