diff --git a/src/resources/plugins/TsSheet/form/conditionexpression/exclude.js b/src/resources/plugins/TsSheet/form/conditionexpression/exclude.js index b823fdfd4d4e3978d3499e6a8dfe730000ca461c..f308e4fb2d6cc4806467d6019cc811b4c638fe89 100644 --- a/src/resources/plugins/TsSheet/form/conditionexpression/exclude.js +++ b/src/resources/plugins/TsSheet/form/conditionexpression/exclude.js @@ -28,7 +28,7 @@ export default (currentValue, oldValue, condition) => { } else if ((typeof currentValue == 'string' || typeof currentValue == 'number') && currentValue.indexOf(conditionValue) == -1) { isExclude = true; } else if (typeof currentValue === 'object') { - if (currentValue[uuid].indexOf(conditionValueList) === -1) { + if (currentValue[uuid] && (currentValue[uuid].indexOf(conditionValueList) === -1)) { isExclude = true; } }