Merged PR 910: #2295 Leere Notifications können nicht mehr geöffnet werden

Leere Notifications können nicht mehr geöffnet werden

Related work items: #2295
This commit is contained in:
Andreas Schickinger
2021-10-19 08:45:04 +00:00
committed by Lorenz Hilpert
parent 2dc8141bbc
commit 1e083d0e64

View File

@@ -16,18 +16,12 @@
<ui-icon icon="dashboard" size="26px"></ui-icon>
</button>
</div>
<!-- <a class="align-right nav-link" (click)="goToDashboard()" *ngIf="module === 0">
<lib-icon *ngIf="router.url !== '/dashboard'" width="25px" height="26px" name="Infoboard_inactive"></lib-icon>
<lib-icon *ngIf="router.url === '/dashboard'" width="25px" height="26px" name="Infoboard"></lib-icon>
</a>
<a class="align-right" *ngIf="module === 1">
<lib-icon width="25px" height="26px" name="Infoboard-branch"></lib-icon>
</a> -->
<div class="align-center">
<button
class="header-icon notification"
type="button"
[class.active]="notificationCount$ | async"
[disabled]="(notificationCount$ | async) === 0"
(click)="openNotifications()"
>
<div class="notification-counter" *ngIf="notificationCount$ | async; let count">{{ count }}</div>