1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 05:09:43 +02:00

feat: Persist closed state per card

This commit is contained in:
Maksim Eltyshev 2025-07-09 17:45:47 +02:00
parent 69c75a03b1
commit 709a0d1758
19 changed files with 163 additions and 71 deletions

View file

@ -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,