summaryrefslogtreecommitdiffstats
path: root/client/components/cards/cardDetails.js
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2018-07-24 18:18:40 +0200
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2019-01-22 11:10:29 +0100
commitb0ac10d94a8200a1ad0199a82c3f9d9be7ac9882 (patch)
treedbcfd3209358fd31a8bd7aeb79a54733bfe514f2 /client/components/cards/cardDetails.js
parentc87a8b86aed70593bf8a9628df830ca5f03d50d5 (diff)
downloadwekan-b0ac10d94a8200a1ad0199a82c3f9d9be7ac9882.tar.gz
wekan-b0ac10d94a8200a1ad0199a82c3f9d9be7ac9882.tar.bz2
wekan-b0ac10d94a8200a1ad0199a82c3f9d9be7ac9882.zip
Add the ability to change the card background
Currently the only way to set it is via the REST API
Diffstat (limited to 'client/components/cards/cardDetails.js')
-rw-r--r--client/components/cards/cardDetails.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js
index e17e7467..060ded5a 100644
--- a/client/components/cards/cardDetails.js
+++ b/client/components/cards/cardDetails.js
@@ -22,6 +22,7 @@ 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) {