Remove a list

This commit is contained in:
Béranger Campardou 2017-01-12 16:14:51 +01:00
parent b90d668fbc
commit 64e36d4827
21 changed files with 35 additions and 8 deletions

View file

@ -52,4 +52,9 @@ Template.listActionPopup.events({
this.archive();
Popup.close();
},
'click .js-remove-list'(evt) {
const currentList = this;
evt.preventDefault();
Lists.remove(currentList._id);
}
});