Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix notification loading icon

Chocobozzzeff8f8de7f9d
diff --git a/client/src/app/header/notification-dropdown.component.html b/client/src/app/header/notification-dropdown.component.html
index 2bf61f9020..ec4bb4c348 100644
--- a/client/src/app/header/notification-dropdown.component.html
+++ b/client/src/app/header/notification-dropdown.component.html
@@ -61,20 +61,16 @@
</div>
@defer (when opened) {
- <div *ngIf="!loaded" class="loader mt-4">
- <my-loader size="xl" [loading]="loaded"></my-loader>
- </div>
-
<my-user-notifications
[ignoreLoadingBar]="true" [infiniteScroll]="false" [itemsPerPage]="10"
[markAllAsReadSubject]="markAllAsReadSubject" (notificationsLoaded)="onNotificationLoaded()"
></my-user-notifications>
- } @placeholder {
- <div class="loader mt-4">
- <my-loader size="xl" loading="true"></my-loader>
- </div>
}
+ <div *ngIf="!loaded" class="loader mt-4">
+ <my-loader size="xl" loading="true"></my-loader>
+ </div>
+
<div class="all-notifications">
<a *ngIf="loaded" class="text-decoration-underline" routerLink="/my-account/notifications" #notifications (click)="onNavigate(notifications)" i18n>
View all