summaryrefslogtreecommitdiffstats
path: root/client/components/main/header.js
blob: 73024aa9e899eead60840874b1e6804f9ad7c098 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Template.header.helpers({
  wrappedHeader() {
    return !Session.get('currentBoard');
  },

  hideLogo() {
    return Utils.isMiniScreen() && Session.get('currentBoard');
  },
});

Template.header.events({
  'click .js-create-board': Popup.open('createBoard'),
});