mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +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}`;
|
||||
} else if (prevValue && ['string', 'json'].includes(this.parameter.type)) {
|
||||
updatedValue = `=${prevValue} ${data}`;
|
||||
updatedValue = prevValue === '=' ? `=${data}` : `=${prevValue} ${data}`;
|
||||
} else {
|
||||
updatedValue = `=${data}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user