summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2019-01-24 16:41:23 +0100
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2019-01-24 20:50:42 +0100
commit5fa0821e078ff03647d23909517ddf6984f8baf5 (patch)
tree63aba871c57ae4859620b2d9358199f068d5f040
parent6e9bad57723919dc3fd63a5748902e9049320603 (diff)
downloadwekan-5fa0821e078ff03647d23909517ddf6984f8baf5.tar.gz
wekan-5fa0821e078ff03647d23909517ddf6984f8baf5.tar.bz2
wekan-5fa0821e078ff03647d23909517ddf6984f8baf5.zip
card colors: remove unused variables
-rw-r--r--client/components/cards/cardDetails.js1
-rw-r--r--client/components/cards/minicard.js4
2 files changed, 0 insertions, 5 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js
index 04620084..79a686a7 100644
--- a/client/components/cards/cardDetails.js
+++ b/client/components/cards/cardDetails.js
@@ -27,7 +27,6 @@ BlazeComponent.extendComponent({
onCreated() {
this.currentBoard = Boards.findOne(Session.get('currentBoard'));
this.isLoaded = new ReactiveVar(false);
- this.currentColor = new ReactiveVar(this.data().color);
const boardBody = this.parentComponent().parentComponent();
//in Miniview parent is Board, not BoardBody.
if (boardBody !== null) {
diff --git a/client/components/cards/minicard.js b/client/components/cards/minicard.js
index e468ec56..da7f9e01 100644
--- a/client/components/cards/minicard.js
+++ b/client/components/cards/minicard.js
@@ -3,10 +3,6 @@
// });
BlazeComponent.extendComponent({
- onCreated() {
- this.currentColor = new ReactiveVar(this.data().color);
- },
-
template() {
return 'minicard';
},