mirror of
https://github.com/plankanban/planka.git
synced 2025-12-19 17:23:27 +03:00
Fix removing background
This commit is contained in:
@@ -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,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user