Remove kanban column from UI on delete

pull/1/head
yflory 5 years ago
parent 39b3af2ae3
commit d11af7c21a

@ -364,6 +364,7 @@ define([
var idx = list.indexOf(id); var idx = list.indexOf(id);
if (idx !== -1) { list.splice(idx, 1); } if (idx !== -1) { list.splice(idx, 1); }
delete (boards.data || {})[id]; delete (boards.data || {})[id];
kanban.removeBoard(id);
return void commit(); return void commit();
} }
Object.keys(boards.data || {}).forEach(function (boardId) { Object.keys(boards.data || {}).forEach(function (boardId) {

Loading…
Cancel
Save