add card color to calendar event (#2651)

This commit is contained in:
Steffen 2019-08-29 13:53:40 +02:00
parent 007c064672
commit b7c5ba3d1b
2 changed files with 79 additions and 0 deletions

View file

@ -326,6 +326,7 @@ BlazeComponent.extendComponent({
slug: currentBoard.slug,
cardId: card._id,
}),
className: card.color ? `calendar-event-${card.color}` : null,
});
});
callback(events);