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/sidebar | |
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/sidebar')
-rw-r--r-- | client/components/sidebar/sidebar.js | 8 | ||||
-rw-r--r-- | client/components/sidebar/sidebarArchives.js | 4 | ||||
-rw-r--r-- | client/components/sidebar/sidebarFilters.js | 8 |
3 files changed, 0 insertions, 20 deletions
diff --git a/client/components/sidebar/sidebar.js b/client/components/sidebar/sidebar.js index e414c1f9..0af32f8f 100644 --- a/client/components/sidebar/sidebar.js +++ b/client/components/sidebar/sidebar.js @@ -9,10 +9,6 @@ const viewTitles = { }; BlazeComponent.extendComponent({ - template() { - return 'sidebar'; - }, - mixins() { return [Mixins.InfiniteScrolling, Mixins.PerfectScrollbar]; }, @@ -232,10 +228,6 @@ Template.membersWidget.onRendered(draggableMembersLabelsWidgets); Template.labelsWidget.onRendered(draggableMembersLabelsWidgets); BlazeComponent.extendComponent({ - template() { - return 'addMemberPopup'; - }, - onCreated() { this.error = new ReactiveVar(''); this.loading = new ReactiveVar(false); diff --git a/client/components/sidebar/sidebarArchives.js b/client/components/sidebar/sidebarArchives.js index 18970267..c8196f23 100644 --- a/client/components/sidebar/sidebarArchives.js +++ b/client/components/sidebar/sidebarArchives.js @@ -1,8 +1,4 @@ BlazeComponent.extendComponent({ - template() { - return 'archivesSidebar'; - }, - tabs() { return [ { name: TAPi18n.__('cards'), slug: 'cards' }, diff --git a/client/components/sidebar/sidebarFilters.js b/client/components/sidebar/sidebarFilters.js index ba4e4df9..0a57f02c 100644 --- a/client/components/sidebar/sidebarFilters.js +++ b/client/components/sidebar/sidebarFilters.js @@ -1,8 +1,4 @@ BlazeComponent.extendComponent({ - template() { - return 'filterSidebar'; - }, - events() { return [{ 'click .js-toggle-label-filter'(evt) { @@ -37,10 +33,6 @@ function mutateSelectedCards(mutationName, ...args) { } BlazeComponent.extendComponent({ - template() { - return 'multiselectionSidebar'; - }, - mapSelection(kind, _id) { return Cards.find(MultiSelection.getMongoSelector()).map((card) => { const methodName = kind === 'label' ? 'hasLabel' : 'isAssigned'; |