summaryrefslogtreecommitdiffstats
path: root/client/components/activities
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/activities
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/activities')
-rw-r--r--client/components/activities/activities.js4
-rw-r--r--client/components/activities/comments.js4
2 files changed, 0 insertions, 8 deletions
diff --git a/client/components/activities/activities.js b/client/components/activities/activities.js
index c1465b04..f6417380 100644
--- a/client/components/activities/activities.js
+++ b/client/components/activities/activities.js
@@ -1,10 +1,6 @@
const activitiesPerPage = 20;
BlazeComponent.extendComponent({
- template() {
- return 'activities';
- },
-
onCreated() {
// XXX Should we use ReactiveNumber?
this.page = new ReactiveVar(1);
diff --git a/client/components/activities/comments.js b/client/components/activities/comments.js
index 18bf9ef0..9b6aedd6 100644
--- a/client/components/activities/comments.js
+++ b/client/components/activities/comments.js
@@ -1,10 +1,6 @@
const commentFormIsOpen = new ReactiveVar(false);
BlazeComponent.extendComponent({
- template() {
- return 'commentForm';
- },
-
onDestroyed() {
commentFormIsOpen.set(false);
},