mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
fix(editor): Fix mapping to empty expression input (#5367)
🐛 Fix mapping to empty expression input
This commit is contained in:
@@ -256,7 +256,7 @@ export default mixins(showMessage).extend({
|
|||||||
) {
|
) {
|
||||||
updatedValue = `${prevValue} ${data}`;
|
updatedValue = `${prevValue} ${data}`;
|
||||||
} else if (prevValue && ['string', 'json'].includes(this.parameter.type)) {
|
} else if (prevValue && ['string', 'json'].includes(this.parameter.type)) {
|
||||||
updatedValue = `=${prevValue} ${data}`;
|
updatedValue = prevValue === '=' ? `=${data}` : `=${prevValue} ${data}`;
|
||||||
} else {
|
} else {
|
||||||
updatedValue = `=${data}`;
|
updatedValue = `=${data}`;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user