summaryrefslogtreecommitdiffstats
path: root/client/components/main/header.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/main/header.js')
-rw-r--r--client/components/main/header.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/client/components/main/header.js b/client/components/main/header.js
index 864f889d..7b7e431f 100644
--- a/client/components/main/header.js
+++ b/client/components/main/header.js
@@ -5,9 +5,7 @@ Template.header.helpers({
},
wrappedHeader: function() {
- var unwrapedRoutes = ['board', 'card'];
- var currentRouteName = FlowRouter.getRouteName();
- return unwrapedRoutes.indexOf(currentRouteName) === -1;
+ return ! Session.get('currentBoard');
}
});