Archive subtask instead of permanent delete

This commit is contained in:
Nicu Tofan 2018-06-23 23:44:45 +03:00
parent 6ab1cbb341
commit cd36194477
No known key found for this signature in database
GPG key ID: 7EE66E95E64FD0B7

View file

@ -52,7 +52,7 @@ BlazeComponent.extendComponent({
deleteSubtask() {
const subtask = this.currentData().subtask;
if (subtask && subtask._id) {
Cards.remove(subtask._id);
subtask.archive();
this.toggleDeleteDialog.set(false);
}
},