Fix lint error
This commit is contained in:
parent
e35e39ff2f
commit
8eb4819d0e
|
@ -108,7 +108,8 @@ export class Node {
|
||||||
if (typeof editable.field === 'boolean') this.editable.field = editable.field
|
if (typeof editable.field === 'boolean') this.editable.field = editable.field
|
||||||
if (typeof editable.value === 'boolean') this.editable.value = editable.value
|
if (typeof editable.value === 'boolean') this.editable.value = editable.value
|
||||||
} else {
|
} else {
|
||||||
console.error( 'Invalid return value for function onEditable. ' +
|
console.error(
|
||||||
|
'Invalid return value for function onEditable.',
|
||||||
'Actual value:', editable, '.',
|
'Actual value:', editable, '.',
|
||||||
'Either a boolean or object { field: boolean, value: boolean } expected.')
|
'Either a boolean or object { field: boolean, value: boolean } expected.')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue