mirror of
https://github.com/plankanban/planka.git
synced 2025-07-19 13:19:44 +02:00
feat: Add ability to link tasks to cards
This commit is contained in:
parent
49203e9d56
commit
230f50e3d9
35 changed files with 761 additions and 243 deletions
|
@ -39,6 +39,15 @@ module.exports = {
|
|||
|
||||
await sails.helpers.taskLists.deleteRelated(taskLists);
|
||||
|
||||
await Task.qm.update(
|
||||
{
|
||||
linkedCardId: cardIdOrIds,
|
||||
},
|
||||
{
|
||||
linkedCardId: null,
|
||||
},
|
||||
);
|
||||
|
||||
const { fileReferences } = await Attachment.qm.delete({
|
||||
cardId: cardIdOrIds,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue