summaryrefslogtreecommitdiffstats
path: root/client/components/boards/boardHeader.js
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2016-01-03 23:45:46 +0100
committerMaxime Quandalle <maxime@quandalle.com>2016-01-03 23:45:46 +0100
commitac6491ea127215cb07ca490fc2cc1af7c3778e8f (patch)
treeb5f3a54950289f39d3eafc745f133d2512c24cb5 /client/components/boards/boardHeader.js
parent46747b01fb3eb42901518a3fdb8a5f6d823465eb (diff)
downloadwekan-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.js16
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;