mirror of
https://github.com/plankanban/planka.git
synced 2025-12-18 01:11:13 +03:00
Preserve members and labels when transfer card to another board
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user