mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 20:59:44 +02:00
Fix timer counting, fix flickering on comment creation, update dependencies
This commit is contained in:
parent
680d664279
commit
be6158afe5
5 changed files with 21 additions and 13 deletions
|
@ -11,6 +11,9 @@ module.exports = {
|
|||
values: {
|
||||
type: 'json',
|
||||
required: true
|
||||
},
|
||||
request: {
|
||||
type: 'ref'
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -21,9 +24,14 @@ module.exports = {
|
|||
userId: inputs.user.id
|
||||
}).fetch();
|
||||
|
||||
sails.sockets.broadcast(`board:${inputs.card.boardId}`, 'actionCreate', {
|
||||
item: action
|
||||
});
|
||||
sails.sockets.broadcast(
|
||||
`board:${inputs.card.boardId}`,
|
||||
'actionCreate',
|
||||
{
|
||||
item: action
|
||||
},
|
||||
inputs.request
|
||||
);
|
||||
|
||||
const userIds = await sails.helpers.getSubscriptionUserIdsForCard(
|
||||
action.cardId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue