summaryrefslogtreecommitdiffstats
path: root/client/components/boards/boardBody.js
diff options
context:
space:
mode:
authorXavier Priour <xavier.priour@bubblyware.com>2015-12-17 11:59:26 +0100
committerXavier Priour <xavier.priour@bubblyware.com>2015-12-17 11:59:26 +0100
commit43b1c4b576b8f0e4c342ec19684000a06809a253 (patch)
treec92938735d6ad7635b2cb9739c2b509829dbbf84 /client/components/boards/boardBody.js
parent4cea6fca908b4f9acd8687293041ebee86284883 (diff)
parentce88495d4783d2352bdc277a69496d90c38495ce (diff)
downloadwekan-43b1c4b576b8f0e4c342ec19684000a06809a253.tar.gz
wekan-43b1c4b576b8f0e4c342ec19684000a06809a253.tar.bz2
wekan-43b1c4b576b8f0e4c342ec19684000a06809a253.zip
Merge remote-tracking branch 'upstream/devel' into devel
Diffstat (limited to 'client/components/boards/boardBody.js')
-rw-r--r--client/components/boards/boardBody.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/components/boards/boardBody.js b/client/components/boards/boardBody.js
index a601bc2e..aa55baad 100644
--- a/client/components/boards/boardBody.js
+++ b/client/components/boards/boardBody.js
@@ -57,6 +57,10 @@ BlazeComponent.extendComponent({
return currentCard && currentCard.listId === listId;
},
+ onlyShowCurrentCard() {
+ return Utils.isMiniScreen() && Session.get('currentCard');
+ },
+
events() {
return [{
// XXX The board-overlay div should probably be moved to the parent