summaryrefslogtreecommitdiffstats
path: root/client/components/boards/boardHeader.js
diff options
context:
space:
mode:
authorfloatinghotpot <rjfun.mobile@gmail.com>2015-12-17 20:38:33 +0800
committerfloatinghotpot <rjfun.mobile@gmail.com>2015-12-17 20:38:33 +0800
commitd2ac3dc63df8b5a61c0c639483c5626ea7d91a32 (patch)
treed31ded34a5b16b74e94fe20efab78b3d4e71aed2 /client/components/boards/boardHeader.js
parentce88495d4783d2352bdc277a69496d90c38495ce (diff)
downloadwekan-d2ac3dc63df8b5a61c0c639483c5626ea7d91a32.tar.gz
wekan-d2ac3dc63df8b5a61c0c639483c5626ea7d91a32.tar.bz2
wekan-d2ac3dc63df8b5a61c0c639483c5626ea7d91a32.zip
fix board headeer issue
Diffstat (limited to 'client/components/boards/boardHeader.js')
-rw-r--r--client/components/boards/boardHeader.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js
index 9423ecee..3b05b4ef 100644
--- a/client/components/boards/boardHeader.js
+++ b/client/components/boards/boardHeader.js
@@ -39,6 +39,10 @@ BlazeComponent.extendComponent({
return user && user.hasStarred(boardId);
},
+ isMiniScreen() {
+ return Utils.isMiniScreen();
+ },
+
// Only show the star counter if the number of star is greater than 2
showStarCounter() {
const currentBoard = Boards.findOne(Session.get('currentBoard'));