diff options
author | Nicu Tofan <nicu.tofan@gmail.com> | 2018-06-23 23:44:45 +0300 |
---|---|---|
committer | Nicu Tofan <nicu.tofan@gmail.com> | 2018-06-26 14:32:49 +0300 |
commit | cd36194477593f12103bc3d69e3cdd594c831099 (patch) | |
tree | 279c72222092e71339ecf5bbaf80ee4da97d117a | |
parent | 6ab1cbb341da44cbaffc296ea177a8cd146e5244 (diff) | |
download | wekan-cd36194477593f12103bc3d69e3cdd594c831099.tar.gz wekan-cd36194477593f12103bc3d69e3cdd594c831099.tar.bz2 wekan-cd36194477593f12103bc3d69e3cdd594c831099.zip |
Archive subtask instead of permanent delete
-rw-r--r-- | client/components/cards/subtasks.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/cards/subtasks.js b/client/components/cards/subtasks.js index 0df5d21f..9a6666a3 100644 --- a/client/components/cards/subtasks.js +++ b/client/components/cards/subtasks.js @@ -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); } }, |