summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorAndrés Manelli <andresmanelli@gmail.com>2019-03-17 16:23:59 +0100
committerAndrés Manelli <andresmanelli@gmail.com>2019-03-17 16:37:06 +0100
commita6e3c8984d76d56d0803c67c6e857d052e892aa6 (patch)
tree65169cba6e597dc6fcee71ad2cc1845b899aaca3 /models
parentff19d6744e3f4a944944185d41b944310f35fc36 (diff)
downloadwekan-a6e3c8984d76d56d0803c67c6e857d052e892aa6.tar.gz
wekan-a6e3c8984d76d56d0803c67c6e857d052e892aa6.tar.bz2
wekan-a6e3c8984d76d56d0803c67c6e857d052e892aa6.zip
Fix dissapearing subtasks
Diffstat (limited to 'models')
-rw-r--r--models/boards.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/models/boards.js b/models/boards.js
index 9a71ede8..3c9d6da0 100644
--- a/models/boards.js
+++ b/models/boards.js
@@ -605,9 +605,7 @@ Boards.helpers({
title: TAPi18n.__('queue'),
boardId: this._id,
});
- Boards.update(this._id, {$set: {
- subtasksDefaultListId: this.subtasksDefaultListId,
- }});
+ this.setSubtasksDefaultListId(this.subtasksDefaultListId);
}
return this.subtasksDefaultListId;
},