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