mirror of
https://github.com/plankanban/planka.git
synced 2025-07-19 13:19: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',
|
type: 'json',
|
||||||
custom: (value) =>
|
custom: (value) =>
|
||||||
_.isPlainObject(value) &&
|
_.isPlainObject(value) &&
|
||||||
(_.isUndefined(value.background) || _.isPlainObject(value.background)) &&
|
(_.isUndefined(value.background) ||
|
||||||
|
_.isNull(value.background) ||
|
||||||
|
_.isPlainObject(value.background)) &&
|
||||||
(_.isUndefined(value.backgroundImage) || _.isNull(value.backgroundImage)),
|
(_.isUndefined(value.backgroundImage) || _.isNull(value.backgroundImage)),
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue