2
0
Эх сурвалжийг харах

Fix a regression introduced in 71b9a42f

The buttons in the board header were not click-able anymore.
Maxime Quandalle 9 жил өмнө
parent
commit
480ef63273

+ 2 - 2
client/components/boards/boardHeader.js

@@ -30,7 +30,7 @@ Template.boardChangeTitlePopup.events({
 
 
 BlazeComponent.extendComponent({
 BlazeComponent.extendComponent({
   template() {
   template() {
-    return 'headerBoard';
+    return 'boardHeaderBar';
   },
   },
 
 
   isStarred() {
   isStarred() {
@@ -74,7 +74,7 @@ BlazeComponent.extendComponent({
       },
       },
     }];
     }];
   },
   },
-}).register('headerBoard');
+}).register('boardHeaderBar');
 
 
 BlazeComponent.extendComponent({
 BlazeComponent.extendComponent({
   template() {
   template() {

+ 0 - 5
client/components/main/header.js

@@ -1,9 +1,4 @@
 Template.header.helpers({
 Template.header.helpers({
-  // Reactively set the color of the page from the color of the current board.
-  headerTemplate() {
-    return 'headerBoard';
-  },
-
   wrappedHeader() {
   wrappedHeader() {
     return !Session.get('currentBoard');
     return !Session.get('currentBoard');
   },
   },