1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-22 06:39:44 +02:00

feat: add option to edit the color of a list

This commit is contained in:
Lukas Corona 2025-02-18 21:46:42 +01:00
parent b0e9ed6162
commit be58e5b0bd
18 changed files with 317 additions and 169 deletions

View file

@ -21,6 +21,10 @@ module.exports = {
type: 'string',
isNotEmptyString: true,
},
color: {
type: 'string',
allowNull: true,
},
},
exits: {
@ -55,7 +59,7 @@ module.exports = {
throw Errors.NOT_ENOUGH_RIGHTS;
}
const values = _.pick(inputs, ['position', 'name']);
const values = _.pick(inputs, ['position', 'name', 'color']);
list = await sails.helpers.lists.updateOne.with({
values,