Fixes seeing list of speakers in topic-detail

This commit is contained in:
GabrielMeyer 2019-09-17 17:32:22 +02:00
parent 43c7797226
commit 9d181d9b14
2 changed files with 3 additions and 3 deletions

View File

@ -97,7 +97,7 @@
<os-projector-button [object]="itemListSlide" [menuItem]="true"></os-projector-button>
<!-- Current list of speakers -->
<button mat-menu-item routerLink="speakers">
<button mat-menu-item *osPerms="'agenda.can_see_list_of_speakers'" routerLink="speakers">
<mat-icon>mic</mat-icon>
<span translate>Current list of speakers</span>
</button>

View File

@ -18,7 +18,7 @@
</div>
<!-- Menu -->
<div class="menu-slot" *osPerms="'agenda.can_manage'">
<div class="menu-slot" *osPerms="'agenda.can_manage'; or: 'agenda.can_see_list_of_speakers'">
<button type="button" mat-icon-button [matMenuTriggerFor]="topicExtraMenu">
<mat-icon>more_vert</mat-icon>
</button>
@ -105,7 +105,7 @@
<os-speaker-button [object]="topic" [menuItem]="true"></os-speaker-button>
<div>
<mat-divider></mat-divider>
<button mat-menu-item class="red-warning-text" (click)="onDeleteButton()">
<button *osPerms="'agenda.can_manage'" mat-menu-item class="red-warning-text" (click)="onDeleteButton()">
<mat-icon>delete</mat-icon>
<span translate>Delete</span>
</button>