mirror of
https://github.com/plankanban/planka.git
synced 2025-07-24 23:59:48 +02:00
feat: Toggle actions details, little redesign
This commit is contained in:
parent
82e4f73c1f
commit
34db8947b6
25 changed files with 301 additions and 81 deletions
|
@ -15,6 +15,9 @@ module.exports = {
|
|||
type: 'string',
|
||||
regex: /^[0-9]+$/,
|
||||
},
|
||||
withDetails: {
|
||||
type: 'boolean',
|
||||
},
|
||||
},
|
||||
|
||||
exits: {
|
||||
|
@ -43,7 +46,11 @@ module.exports = {
|
|||
}
|
||||
}
|
||||
|
||||
const actions = await sails.helpers.cards.getActions(card.id, inputs.beforeId);
|
||||
const actions = await sails.helpers.cards.getActions(
|
||||
card.id,
|
||||
inputs.beforeId,
|
||||
inputs.withDetails,
|
||||
);
|
||||
|
||||
const userIds = sails.helpers.utils.mapRecords(actions, 'userId', true);
|
||||
const users = await sails.helpers.users.getMany(userIds, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue