mirror of
https://github.com/n8n-io/n8n.git
synced 2024-09-19 22:37:31 -07:00
feat(editor): Append expressions in fixed values when mapping to string/json inputs (#5300)
feat(editor): Append expressions in fixed values when mapping
This commit is contained in:
parent
b61453d8e6
commit
88c7ef29c8
|
@ -255,6 +255,8 @@ export default mixins(showMessage).extend({
|
|||
prevValue.length > 1
|
||||
) {
|
||||
updatedValue = `${prevValue} ${data}`;
|
||||
} else if (prevValue && ['string', 'json'].includes(this.parameter.type)) {
|
||||
updatedValue = `=${prevValue} ${data}`;
|
||||
} else {
|
||||
updatedValue = `=${data}`;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue