Avoid weekly task repeatition with no selected tasks
This commit is contained in:
		
							parent
							
								
									49119b2549
								
							
						
					
					
						commit
						9e5a1337d9
					
				| @ -62,7 +62,7 @@ | ||||
|     </ng-container> | ||||
|     <ng-container matColumnDef="delete"> | ||||
|       <th mat-header-cell *matHeaderCellDef mat-sort-header> | ||||
|         <button mat-icon-button color="primary" (click)="repeatSelectedTasks()"><mat-icon>event_repeat</mat-icon></button> | ||||
|         <button mat-icon-button color="primary" (click)="repeatSelectedTasks()" [disabled]="selection.isEmpty()"><mat-icon>event_repeat</mat-icon></button> | ||||
|       </th> | ||||
|       <td mat-cell *matCellDef="let task"> | ||||
|         <button mat-icon-button color="warn" (click)="deleteTask(task)"><mat-icon>delete</mat-icon></button> | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user