summaryrefslogtreecommitdiffstats
path: root/client/components/cards
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/cards')
-rw-r--r--client/components/cards/cardDetails.jade5
-rw-r--r--client/components/cards/subtasks.js1
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.