mirror of
https://github.com/plankanban/planka.git
synced 2025-12-21 01:11:26 +03:00
feat: Add ability to link tasks to cards
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user