mirror of
https://github.com/plankanban/planka.git
synced 2025-07-23 15:19:44 +02:00
Preserve members and labels when transfer card to another board
This commit is contained in:
parent
5e0b2b9f0a
commit
044fe17dbf
17 changed files with 321 additions and 64 deletions
|
@ -8,9 +8,9 @@ module.exports = {
|
|||
},
|
||||
|
||||
async fn(inputs, exits) {
|
||||
const labels = await Label.find({
|
||||
const labels = await sails.helpers.getLabels({
|
||||
boardId: inputs.id,
|
||||
}).sort('id');
|
||||
});
|
||||
|
||||
return exits.success(labels);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue