diff options
author | Nicu Tofan <nicu.tofan@gmail.com> | 2018-06-25 23:12:20 +0300 |
---|---|---|
committer | Nicu Tofan <nicu.tofan@gmail.com> | 2018-06-26 14:32:51 +0300 |
commit | 94a52080cff14f7587c0ee837c1fca131cd6aff0 (patch) | |
tree | 9c4350d54b1d98d7ccfdcf09620e2fb8d5cf2c2d /client/components/cards | |
parent | c9f70cf382707141561732a46dbd3e3e2f159e6e (diff) | |
download | wekan-94a52080cff14f7587c0ee837c1fca131cd6aff0.tar.gz wekan-94a52080cff14f7587c0ee837c1fca131cd6aff0.tar.bz2 wekan-94a52080cff14f7587c0ee837c1fca131cd6aff0.zip |
Board level settings for subtasks
Diffstat (limited to 'client/components/cards')
-rw-r--r-- | client/components/cards/cardDetails.jade | 5 | ||||
-rw-r--r-- | client/components/cards/subtasks.js | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade index bc0ce45c..789cc4b1 100644 --- a/client/components/cards/cardDetails.jade +++ b/client/components/cards/cardDetails.jade @@ -144,8 +144,9 @@ template(name="cardDetails") hr +checklists(cardId = _id) - hr - +subtasks(cardId = _id) + if currentBoard.allowsSubtasks + hr + +subtasks(cardId = _id) hr h3 diff --git a/client/components/cards/subtasks.js b/client/components/cards/subtasks.js index 335eba36..9c6f265e 100644 --- a/client/components/cards/subtasks.js +++ b/client/components/cards/subtasks.js @@ -30,6 +30,7 @@ BlazeComponent.extendComponent({ sort: sortIndex, swimlaneId, }); + // In case the filter is active we need to add the newly inserted card in // the list of exceptions -- cards that are not filtered. Otherwise the // card will disappear instantly. |