From b41d40cc95100fe0fd16d39b543e86036f87c2df Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Fri, 7 Feb 2020 17:06:36 -0800 Subject: [PATCH] :bug: Fix error with displaying null in expression --- packages/editor-ui/src/components/ParameterInput.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor-ui/src/components/ParameterInput.vue b/packages/editor-ui/src/components/ParameterInput.vue index 74c123b521..9f65d462e4 100644 --- a/packages/editor-ui/src/components/ParameterInput.vue +++ b/packages/editor-ui/src/components/ParameterInput.vue @@ -276,7 +276,7 @@ export default mixins( returnValue = this.expressionValueComputed; } - if (returnValue !== undefined && this.parameter.type === 'string') { + if (returnValue !== undefined && returnValue !== null && this.parameter.type === 'string') { const rows = this.getArgument('rows'); if (rows === undefined || rows === 1) { returnValue = returnValue.toString().replace(/\n/, '|');