mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
fix(editor): Fix mapping to empty expression input (#5367)
🐛 Fix mapping to empty expression input
This commit is contained in:
parent
9b628ddc34
commit
e4458b48e0
|
@ -256,7 +256,7 @@ export default mixins(showMessage).extend({
|
|||
) {
|
||||
updatedValue = `${prevValue} ${data}`;
|
||||
} else if (prevValue && ['string', 'json'].includes(this.parameter.type)) {
|
||||
updatedValue = `=${prevValue} ${data}`;
|
||||
updatedValue = prevValue === '=' ? `=${data}` : `=${prevValue} ${data}`;
|
||||
} else {
|
||||
updatedValue = `=${data}`;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue