diff --git a/client/src/components/Card/ActionsStep.jsx b/client/src/components/Card/ActionsStep.jsx index f1401ce..fee9d40 100644 --- a/client/src/components/Card/ActionsStep.jsx +++ b/client/src/components/Card/ActionsStep.jsx @@ -61,7 +61,9 @@ const ActionsStep = React.memo( defaultPath.listId = card.listId; defaultPath.cardId = card.id; defaultPath.name = card.name; - defaultPath.dueDate = card.dueDate; + if (card.dueDate !== null) { + defaultPath.dueDate = card.dueDate; + } defaultPath.stopwatch = card.stopwatch; defaultPath.labels = card.labels; defaultPath.boardMemberships = boardMemberships; diff --git a/client/src/components/CardCopyStep/CardCopyStep.jsx b/client/src/components/CardCopyStep/CardCopyStep.jsx index 889faac..8d4b1cf 100644 --- a/client/src/components/CardCopyStep/CardCopyStep.jsx +++ b/client/src/components/CardCopyStep/CardCopyStep.jsx @@ -35,7 +35,7 @@ const CardCopyStep = React.memo( attachments: defaultPath.attachments, labels: defaultPath.labels, users: defaultPath.users, - dueDate: defaultPath.dueDate, + // dueDate: defaultPath.dueDate, ...defaultPath, }));