Show add task btn also when no task exists

This commit is contained in:
Sebastian 2023-10-28 19:10:46 +02:00
parent 98efb9150c
commit 9402db4a9b

View File

@ -1,4 +1,4 @@
<button mat-raised-button class="greenBtn long-btn" *ngIf="tasks.length > 0" (click)="openTaskCreation()">Add</button> <button mat-raised-button class="greenBtn long-btn" *ngIf="taskgroupID != undefined" (click)="openTaskCreation()">Add</button>
<mat-card *ngFor="let task of tasks"> <mat-card *ngFor="let task of tasks">
<mat-card-content> <mat-card-content>
<h3>{{task.taskName}}</h3> <h3>{{task.taskName}}</h3>