summaryrefslogtreecommitdiffstats
path: root/client/components/cards/minicard.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-01-22 17:33:27 +0200
committerLauri Ojansivu <x@xet7.org>2019-01-22 17:33:27 +0200
commit46a468b06dd5d4ca2338140bb2fd32958ccef85f (patch)
tree9a7656c0fa92c0895c25d958764f090c74d0c129 /client/components/cards/minicard.js
parent8d4eef66493f464035616fec7ac8b2f14720ce57 (diff)
parent1b445ad789a41d97b7cf4e16af35f52ae0be694b (diff)
downloadwekan-46a468b06dd5d4ca2338140bb2fd32958ccef85f.tar.gz
wekan-46a468b06dd5d4ca2338140bb2fd32958ccef85f.tar.bz2
wekan-46a468b06dd5d4ca2338140bb2fd32958ccef85f.zip
Merge branch 'edge' into meteor-1.8
Diffstat (limited to 'client/components/cards/minicard.js')
-rw-r--r--client/components/cards/minicard.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/components/cards/minicard.js b/client/components/cards/minicard.js
index da7f9e01..e468ec56 100644
--- a/client/components/cards/minicard.js
+++ b/client/components/cards/minicard.js
@@ -3,6 +3,10 @@
// });
BlazeComponent.extendComponent({
+ onCreated() {
+ this.currentColor = new ReactiveVar(this.data().color);
+ },
+
template() {
return 'minicard';
},