From cd36194477593f12103bc3d69e3cdd594c831099 Mon Sep 17 00:00:00 2001 From: Nicu Tofan Date: Sat, 23 Jun 2018 23:44:45 +0300 Subject: Archive subtask instead of permanent delete --- client/components/cards/subtasks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/components/cards/subtasks.js') 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); } }, -- cgit v1.2.3-1-g7c22