1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-18 20:59:44 +02:00

Allow creating label without name

This commit is contained in:
Maksim Eltyshev 2019-10-09 18:48:19 +05:00
parent d88bec8b6b
commit 9ebc82bf22
9 changed files with 31 additions and 51 deletions

View file

@ -12,12 +12,13 @@ module.exports = {
},
name: {
type: 'string',
isNotEmptyString: true
isNotEmptyString: true,
allowNull: true
},
color: {
type: 'string',
isIn: Label.COLORS,
allowNull: true
required: true
}
},