mirror of
https://github.com/plankanban/planka.git
synced 2025-08-10 16:05:35 +02:00
Removed copying of dueDate since null values are not supported.
This commit is contained in:
parent
02195d734f
commit
18b0ad7268
2 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -35,7 +35,7 @@ const CardCopyStep = React.memo(
|
|||
attachments: defaultPath.attachments,
|
||||
labels: defaultPath.labels,
|
||||
users: defaultPath.users,
|
||||
dueDate: defaultPath.dueDate,
|
||||
// dueDate: defaultPath.dueDate,
|
||||
...defaultPath,
|
||||
}));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue