header.js 313 B

1234567891011121314
  1. Template.header.helpers({
  2. // Reactively set the color of the page from the color of the current board.
  3. headerTemplate() {
  4. return 'headerBoard';
  5. },
  6. wrappedHeader() {
  7. return !Session.get('currentBoard');
  8. },
  9. });
  10. Template.header.events({
  11. 'click .js-create-board': Popup.open('createBoard'),
  12. });