mirror of
https://github.com/plankanban/planka.git
synced 2025-12-20 09:15:39 +03:00
feat: Persist closed state per card
This commit is contained in:
@@ -67,6 +67,10 @@ module.exports = {
|
||||
delete values.position;
|
||||
}
|
||||
|
||||
if (values.list.type === List.Types.CLOSED) {
|
||||
values.isClosed = true;
|
||||
}
|
||||
|
||||
const card = await Card.qm.createOne({
|
||||
...values,
|
||||
boardId: values.board.id,
|
||||
|
||||
Reference in New Issue
Block a user