mirror of
https://github.com/plankanban/planka.git
synced 2025-07-21 22:29:42 +02:00
parent
ac09d9b6bd
commit
4821d407a7
19 changed files with 365 additions and 166 deletions
|
@ -21,6 +21,11 @@ module.exports = {
|
|||
type: 'string',
|
||||
isNotEmptyString: true,
|
||||
},
|
||||
color: {
|
||||
type: 'string',
|
||||
isIn: List.COLORS,
|
||||
allowNull: true,
|
||||
},
|
||||
},
|
||||
|
||||
exits: {
|
||||
|
@ -55,7 +60,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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue