mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 20:59:44 +02:00
Fix removing background
This commit is contained in:
parent
f85d499bbf
commit
c43b4ea8ad
1 changed files with 3 additions and 1 deletions
|
@ -11,7 +11,9 @@ module.exports = {
|
|||
type: 'json',
|
||||
custom: (value) =>
|
||||
_.isPlainObject(value) &&
|
||||
(_.isUndefined(value.background) || _.isPlainObject(value.background)) &&
|
||||
(_.isUndefined(value.background) ||
|
||||
_.isNull(value.background) ||
|
||||
_.isPlainObject(value.background)) &&
|
||||
(_.isUndefined(value.backgroundImage) || _.isNull(value.backgroundImage)),
|
||||
required: true,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue