Hide alert notes for viewers if empty

This commit is contained in:
Matteo Gheza 2022-03-11 23:48:25 +01:00
parent 83e5995b1c
commit 7cb95a4a2c
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@
</div>
</div>
</ng-container>
<ng-container *ngIf="!auth.profile.hasRole('SUPER_EDITOR')">
<ng-container *ngIf="!auth.profile.hasRole('SUPER_EDITOR') && notes !== ''">
<div class="well well-lg card card-block card-header">
<h5>Dettagli allerta</h5>
<h2>{{ notes }}</h2>