directly add song to show

This commit is contained in:
2022-11-12 14:54:34 +01:00
parent f0fb7ed4f8
commit 5701d3c9e6
7 changed files with 54 additions and 35 deletions

View File

@@ -64,6 +64,16 @@
<app-button *appRole="['contributor']" [icon]="faEdit" routerLink="edit"
>Bearbeiten
</app-button>
<ng-container *appRole="['leader']">
<app-button [icon]="faFileCirclePlus" [matMenuTriggerFor]="menu">
Zu Veranstaltung hinzufügen
</app-button>
<mat-menu #menu="matMenu">
<app-button (click)="addSongToShow(show, song)" *ngFor="let show of privateShows$|async">
{{ show.date.toDate() | date: "dd.MM.yyyy" }} {{ show.showType | showType }}
</app-button>
</mat-menu>
</ng-container>
</app-button-row>
</app-card>
<ng-container *ngIf="files$ | async as files">