summaryrefslogtreecommitdiffstats
path: root/client/components/cards/minicard.js
diff options
context:
space:
mode:
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';
},