summaryrefslogtreecommitdiffstats
path: root/client/components/boards/boardBody.js
diff options
context:
space:
mode:
authorSteffen <grmpfhmbl@users.noreply.github.com>2019-08-29 13:53:40 +0200
committerSteffen <grmpfhmbl@users.noreply.github.com>2019-08-29 14:12:53 +0200
commitb7c5ba3d1b97bc33c95618cefbd0416d78a4d4dc (patch)
tree5923159bb9ee7832e56343a713f19d441ea4f375 /client/components/boards/boardBody.js
parent007c0646721f7e701e135ceb0a89e478c3400e88 (diff)
downloadwekan-b7c5ba3d1b97bc33c95618cefbd0416d78a4d4dc.tar.gz
wekan-b7c5ba3d1b97bc33c95618cefbd0416d78a4d4dc.tar.bz2
wekan-b7c5ba3d1b97bc33c95618cefbd0416d78a4d4dc.zip
add card color to calendar event (#2651)
Diffstat (limited to 'client/components/boards/boardBody.js')
-rw-r--r--client/components/boards/boardBody.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/components/boards/boardBody.js b/client/components/boards/boardBody.js
index 6cff5ab1..07cd306a 100644
--- a/client/components/boards/boardBody.js
+++ b/client/components/boards/boardBody.js
@@ -326,6 +326,7 @@ BlazeComponent.extendComponent({
slug: currentBoard.slug,
cardId: card._id,
}),
+ className: card.color ? `calendar-event-${card.color}` : null,
});
});
callback(events);