From 8138ddfb798d5e682e98414f707c871a65b6964e Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Sat, 29 Oct 2022 16:33:51 +0530 Subject: [PATCH] Bug fix --- index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.html b/index.html index 80d1871..236e164 100644 --- a/index.html +++ b/index.html @@ -2756,6 +2756,8 @@ getConfirmation("Are you sure to delete this task?", { confirmText: 'Delete' }).then((result) => { if (result) { RIBC.admin.deleteTaskInMap(appState.params.id, appState.params.branch, currentTask.dataset.taskId) + const taskId = `${appState.params.id}_${appState.params.branch}_${currentTask.dataset.taskId}`; + RIBC.admin.setDisplayedTasks(RIBC.getDisplayedTasks().filter(task => task !== taskId)) renderBranchTasks() } })