mirror of
https://github.com/n8n-io/n8n.git
synced 2024-09-20 23:07:32 -07:00
🐛 Fix error with displaying null in expression
This commit is contained in:
parent
3ed27c6485
commit
b41d40cc95
|
@ -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/, '|');
|
||||
|
|
Loading…
Reference in a new issue