mirror of
https://github.com/wekan/wekan.git
synced 2026-01-04 00:28:49 +01:00
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.
This commit is contained in:
parent
46747b01fb
commit
ac6491ea12
16 changed files with 0 additions and 92 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue