add tasks to end

This commit is contained in:
Olivier 'reivilibre' 2021-08-17 08:36:57 +01:00
parent 5c58e7ebd3
commit 91c98fbad8

View File

@ -260,6 +260,8 @@ export class ColumnDisplayComponent implements OnInit, OnDestroy {
return;
}
newTask.position = this.columnData.tasks.length + 1;
this.boardService.addTask(newTask)
.subscribe((response: ApiResponse) => {
response.alerts.forEach(note => this.notes.add(note));