Skip to content

Commit

Permalink
instant data set on kanban board
Browse files Browse the repository at this point in the history
Signed-off-by: RaunakSharma002 <raunaksharma22345@gmail.com>
  • Loading branch information
RaunakSharma002 committed Jun 29, 2023
1 parent 83c1aef commit d0ec7e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/body/kanban-board/kanban-board.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,11 @@ export class KanbanBoardComponent implements OnInit {
moveItemInArray(event.container.data, event.previousIndex, event.currentIndex);
this.showLoader = false;
} else {
transferArrayItem(event.previousContainer.data, event.container.data, event.previousIndex, event.currentIndex);
this.editTask(event.previousContainer.data[event.previousIndex], status).subscribe({
next: (data) => {
result = data;
if (result == "OK") {
transferArrayItem(event.previousContainer.data, event.container.data, event.previousIndex, event.currentIndex);
this.showLoader = false;
}
},
Expand Down

0 comments on commit d0ec7e1

Please sign in to comment.