mirror of
https://github.com/a-mayb3/KanbanCloneAngular.git
synced 2026-03-21 18:05:38 +01:00
substituted @ifs and @fors with deprecated ngIf and ngFor
This commit is contained in:
parent
171400f9ca
commit
7202ed8806
15 changed files with 105 additions and 110 deletions
|
|
@ -45,6 +45,10 @@ export class TaskItemComponent {
|
|||
'failed',
|
||||
];
|
||||
|
||||
trackByStatus(_index: number, status: Task['status']): Task['status'] {
|
||||
return status;
|
||||
}
|
||||
|
||||
onStatusChange(value: Task['status']) {
|
||||
const previousStatus = this.statusValue;
|
||||
const nextStatus = value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue