mirror of
https://github.com/wekan/wekan.git
synced 2026-02-05 08:01:49 +01:00
Added field archivedAt to cards, lists, swimlanes, and boards.
This commit is contained in:
parent
4fc2d7b935
commit
710643d8cb
4 changed files with 33 additions and 3 deletions
|
|
@ -26,6 +26,13 @@ Cards.attachSchema(
|
|||
}
|
||||
},
|
||||
},
|
||||
archivedAt: {
|
||||
/**
|
||||
* latest archiving date
|
||||
*/
|
||||
type: Date,
|
||||
optional: true,
|
||||
},
|
||||
parentId: {
|
||||
/**
|
||||
* ID of the parent card
|
||||
|
|
@ -1446,6 +1453,7 @@ Cards.mutations({
|
|||
return {
|
||||
$set: {
|
||||
archived: true,
|
||||
archivedAt: new Date(),
|
||||
},
|
||||
};
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue