mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
🐛 Fix error with displaying null in expression
This commit is contained in:
@@ -276,7 +276,7 @@ export default mixins(
|
|||||||
returnValue = this.expressionValueComputed;
|
returnValue = this.expressionValueComputed;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (returnValue !== undefined && this.parameter.type === 'string') {
|
if (returnValue !== undefined && returnValue !== null && this.parameter.type === 'string') {
|
||||||
const rows = this.getArgument('rows');
|
const rows = this.getArgument('rows');
|
||||||
if (rows === undefined || rows === 1) {
|
if (rows === undefined || rows === 1) {
|
||||||
returnValue = returnValue.toString().replace(/\n/, '|');
|
returnValue = returnValue.toString().replace(/\n/, '|');
|
||||||
|
|||||||
Reference in New Issue
Block a user