kanban exports now exclude deleted items #1325
This commit is contained in:
parent
fa173047b4
commit
52c766a599
1 changed files with 4 additions and 0 deletions
|
@ -415,6 +415,10 @@ define([
|
|||
var list = boards.list || [];
|
||||
var idx = list.indexOf(id);
|
||||
if (idx !== -1) { list.splice(idx, 1); }
|
||||
var items = boards.data[id].item
|
||||
items.forEach(function(item) {
|
||||
delete boards.items[item]
|
||||
})
|
||||
delete (boards.data || {})[id];
|
||||
kanban.removeBoard(id);
|
||||
return void commit();
|
||||
|
|
Loading…
Reference in a new issue