mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 20:59:44 +02:00
fix: Fix incorrect related data when transferring card
Closes #431, closes #803
This commit is contained in:
parent
8d37c7c6c9
commit
5c032c674c
7 changed files with 74 additions and 9 deletions
|
@ -204,6 +204,15 @@ module.exports = {
|
|||
),
|
||||
);
|
||||
|
||||
sails.sockets.broadcast(
|
||||
`board:${inputs.record.boardId}`,
|
||||
'cardDelete', // TODO: introduce separate event
|
||||
{
|
||||
item: inputs.record,
|
||||
},
|
||||
inputs.request,
|
||||
);
|
||||
|
||||
sails.sockets.broadcast(`board:${card.boardId}`, 'cardUpdate', {
|
||||
item: card,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue