mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Add delete the card belonging to when deleting the list
This commit is contained in:
parent
9a6b4278d3
commit
54f3cf9429
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ Template.listActionPopup.events({
|
|||
Template.listMorePopup.events({
|
||||
'click .js-delete': Popup.afterConfirm('listDelete', function () {
|
||||
Popup.close();
|
||||
this.allCards().map((card) => Cards.remove(card._id));
|
||||
Lists.remove(this._id);
|
||||
Utils.goBoardId(this.boardId);
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue