summaryrefslogtreecommitdiffstats
path: root/client/components/lists
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/lists
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/lists')
-rw-r--r--client/components/lists/list.js4
-rw-r--r--client/components/lists/listBody.js8
-rw-r--r--client/components/lists/listHeader.js4
3 files changed, 0 insertions, 16 deletions
diff --git a/client/components/lists/list.js b/client/components/lists/list.js
index e454cb48..e1909783 100644
--- a/client/components/lists/list.js
+++ b/client/components/lists/list.js
@@ -1,10 +1,6 @@
const { calculateIndex } = Utils;
BlazeComponent.extendComponent({
- template() {
- return 'list';
- },
-
// Proxy
openForm(options) {
this.childComponents('listBody')[0].openForm(options);
diff --git a/client/components/lists/listBody.js b/client/components/lists/listBody.js
index c3a85614..907c2157 100644
--- a/client/components/lists/listBody.js
+++ b/client/components/lists/listBody.js
@@ -1,8 +1,4 @@
BlazeComponent.extendComponent({
- template() {
- return 'listBody';
- },
-
mixins() {
return [Mixins.PerfectScrollbar];
},
@@ -122,10 +118,6 @@ function toggleValueInReactiveArray(reactiveValue, value) {
}
BlazeComponent.extendComponent({
- template() {
- return 'addCardForm';
- },
-
onCreated() {
this.labels = new ReactiveVar([]);
this.members = new ReactiveVar([]);
diff --git a/client/components/lists/listHeader.js b/client/components/lists/listHeader.js
index e393dac1..c9eaee12 100644
--- a/client/components/lists/listHeader.js
+++ b/client/components/lists/listHeader.js
@@ -1,8 +1,4 @@
BlazeComponent.extendComponent({
- template() {
- return 'listHeader';
- },
-
editTitle(evt) {
evt.preventDefault();
const newTitle = this.childComponents('inlinedForm')[0].getValue().trim();