From 91c98fbad8281080b03fa4f5eac5a4f871217870 Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Tue, 17 Aug 2021 08:36:57 +0100 Subject: [PATCH] add tasks to end --- src/app/board/column/column.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/board/column/column.component.ts b/src/app/board/column/column.component.ts index c18b38d..3bdfb53 100644 --- a/src/app/board/column/column.component.ts +++ b/src/app/board/column/column.component.ts @@ -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));