diff --git a/client/src/app/header/notification-dropdown.component.html b/client/src/app/header/notification-dropdown.component.html
index 789a36b17..fb3a79f9e 100644
--- a/client/src/app/header/notification-dropdown.component.html
+++ b/client/src/app/header/notification-dropdown.component.html
@@ -24,7 +24,7 @@
} @else {
-
-
+ @defer (when opened) {
+
+
+
- @defer (when loaded) {
} @placeholder {
-
-
+
+
+
}
diff --git a/client/src/app/header/notification-dropdown.component.ts b/client/src/app/header/notification-dropdown.component.ts
index f22fe100b..41e0792b8 100644
--- a/client/src/app/header/notification-dropdown.component.ts
+++ b/client/src/app/header/notification-dropdown.component.ts
@@ -83,7 +83,6 @@ export class NotificationDropdownComponent implements OnInit, OnDestroy {
}
onDropdownHidden () {
- this.loaded = false
this.opened = false
}
diff --git a/client/src/app/shared/shared-main/common/loader.component.ts b/client/src/app/shared/shared-main/common/loader.component.ts
index e6c08a183..e7a30d5fe 100644
--- a/client/src/app/shared/shared-main/common/loader.component.ts
+++ b/client/src/app/shared/shared-main/common/loader.component.ts
@@ -1,4 +1,4 @@
-import { Component, Input } from '@angular/core'
+import { booleanAttribute, Component, Input } from '@angular/core'
import { NgIf, NgStyle } from '@angular/common'
@Component({
@@ -8,7 +8,7 @@ import { NgIf, NgStyle } from '@angular/common'
imports: [ NgIf, NgStyle ]
})
export class LoaderComponent {
- @Input() loading: boolean
+ @Input({ transform: booleanAttribute }) loading: boolean
@Input() size: 'sm' | 'xl'
private readonly sizes = {
diff --git a/client/src/app/shared/shared-main/menu/horizontal-menu.component.ts b/client/src/app/shared/shared-main/menu/horizontal-menu.component.ts
index fb4a7cc44..379b2c21c 100644
--- a/client/src/app/shared/shared-main/menu/horizontal-menu.component.ts
+++ b/client/src/app/shared/shared-main/menu/horizontal-menu.component.ts
@@ -90,7 +90,7 @@ export class HorizontalMenuComponent implements OnInit, OnChanges, OnDestroy {
})
if (!entry) {
- if (this.menuEntries.length !== 0) {
+ if (this.menuEntries.length !== 0 && currentUrl !== '/') {
logger.info(`Unable to find entry for ${currentUrl} or ${currentComponentPath}`, { menuEntries: this.menuEntries })
}
diff --git a/client/src/app/shared/standalone-notifications/user-notifications.component.ts b/client/src/app/shared/standalone-notifications/user-notifications.component.ts
index 4cf3fcffc..a3f25fcc0 100644
--- a/client/src/app/shared/standalone-notifications/user-notifications.component.ts
+++ b/client/src/app/shared/standalone-notifications/user-notifications.component.ts
@@ -38,8 +38,6 @@ export class UserNotificationsComponent implements OnInit {
) { }
ngOnInit () {
- console.log('loaded')
-
this.componentPagination = {
currentPage: 1,
itemsPerPage: this.itemsPerPage, // Reset items per page, because of the @Input() variable