diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2016-01-03 23:45:46 +0100 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2016-01-03 23:45:46 +0100 |
commit | ac6491ea127215cb07ca490fc2cc1af7c3778e8f (patch) | |
tree | b5f3a54950289f39d3eafc745f133d2512c24cb5 /client/components/boards/boardHeader.js | |
parent | 46747b01fb3eb42901518a3fdb8a5f6d823465eb (diff) | |
download | wekan-ac6491ea127215cb07ca490fc2cc1af7c3778e8f.tar.gz wekan-ac6491ea127215cb07ca490fc2cc1af7c3778e8f.tar.bz2 wekan-ac6491ea127215cb07ca490fc2cc1af7c3778e8f.zip |
Remove unnecessary template name declaration
This code was duplicate with the name we use to `register` the
component. A update of blaze-component removed the need to duplicate
this declaration.
Diffstat (limited to 'client/components/boards/boardHeader.js')
-rw-r--r-- | client/components/boards/boardHeader.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js index f8ccfba5..acf40f44 100644 --- a/client/components/boards/boardHeader.js +++ b/client/components/boards/boardHeader.js @@ -41,10 +41,6 @@ Template.boardChangeTitlePopup.events({ }); BlazeComponent.extendComponent({ - template() { - return 'boardHeaderBar'; - }, - isStarred() { const boardId = Session.get('currentBoard'); const user = Meteor.user(); @@ -93,10 +89,6 @@ BlazeComponent.extendComponent({ }).register('boardHeaderBar'); BlazeComponent.extendComponent({ - template() { - return 'boardChangeColorPopup'; - }, - backgroundColors() { return Boards.simpleSchema()._schema.color.allowedValues; }, @@ -119,10 +111,6 @@ BlazeComponent.extendComponent({ }).register('boardChangeColorPopup'); BlazeComponent.extendComponent({ - template() { - return 'createBoardPopup'; - }, - onCreated() { this.visibilityMenuIsOpen = new ReactiveVar(false); this.visibility = new ReactiveVar('private'); @@ -170,10 +158,6 @@ BlazeComponent.extendComponent({ }).register('createBoardPopup'); BlazeComponent.extendComponent({ - template() { - return 'boardChangeVisibilityPopup'; - }, - visibilityCheck() { const currentBoard = Boards.findOne(Session.get('currentBoard')); return this.currentData() === currentBoard.permission; |