feat: Colorize due date and make it toggleable (#845)

This commit is contained in:
Arkadiusz Dzięgiel
2024-08-12 18:29:50 +02:00
committed by GitHub
parent 198518a51a
commit c4c6d738a5
12 changed files with 207 additions and 38 deletions
+3 -4
View File
@@ -20,10 +20,8 @@ const makeMapStateToProps = () => {
const allLabels = selectors.selectLabelsForCurrentBoard(state);
const currentUserMembership = selectors.selectCurrentUserMembershipForCurrentBoard(state);
const { name, dueDate, stopwatch, coverUrl, boardId, listId, isPersisted } = selectCardById(
state,
id,
);
const { name, dueDate, dueCompleted, stopwatch, coverUrl, boardId, listId, isPersisted } =
selectCardById(state, id);
const users = selectUsersByCardId(state, id);
const labels = selectLabelsByCardId(state, id);
@@ -38,6 +36,7 @@ const makeMapStateToProps = () => {
index,
name,
dueDate,
dueCompleted,
stopwatch,
coverUrl,
boardId,