Fix usage of osPerms

This commit is contained in:
Finn Stutzenstein 2021-03-01 15:14:13 +01:00
parent e75bdeb0f7
commit 33fca309c4
No known key found for this signature in database
GPG Key ID: 9042F605C6324654
2 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@
<span>{{ 'Deselect all' | translate }}</span>
</button>
<ng-container *osPerms="'motions.can_manage'; or: 'motions.can_manage_metadata'">
<ng-container *osPerms="['motions.can_manage', 'motions.can_manage_metadata']">
<mat-divider></mat-divider>
<os-motion-multiselect-actions [selectedMotions]="selectedRows" (action)="multiselectWrapper($event)">
</os-motion-multiselect-actions>

View File

@ -18,7 +18,7 @@
</div>
<!-- Menu -->
<div class="menu-slot" *osPerms="'agenda.can_manage'; or: 'agenda.can_see_list_of_speakers'">
<div class="menu-slot" *osPerms="['agenda.can_manage', 'agenda.can_see_list_of_speakers']">
<button type="button" mat-icon-button [matMenuTriggerFor]="topicExtraMenu">
<mat-icon>more_vert</mat-icon>
</button>