mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 20:59:44 +02:00
fix: Socket bug fixes and improvements
This commit is contained in:
parent
694fa17bdf
commit
e623e8a3a8
6 changed files with 53 additions and 32 deletions
|
@ -25,9 +25,10 @@ module.exports = {
|
|||
},
|
||||
|
||||
async fn(inputs) {
|
||||
const userIds = await sails.helpers.projects.getManagerAndBoardMemberUserIds(
|
||||
inputs.record.projectId,
|
||||
);
|
||||
const managerUserIds = await sails.helpers.projects.getManagerUserIds(inputs.record.projectId);
|
||||
const memberUserIds = await sails.helpers.boards.getMemberUserIds(inputs.record.id);
|
||||
|
||||
const userIds = _.union(managerUserIds, memberUserIds);
|
||||
|
||||
if (!_.isUndefined(inputs.values.position)) {
|
||||
const boards = await sails.helpers.projects.getBoards(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue