mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
🐛 Fix issue that parameters did not always get set correctly from
external windows
This commit is contained in:
@@ -151,9 +151,12 @@ export default mixins(
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
valueChanged (parameterData: IUpdateInformation) {
|
valueChanged (parameterData: IUpdateInformation) {
|
||||||
const name = parameterData.name.split('.').pop();
|
const name = parameterData.name.split('.').pop() as string;
|
||||||
// @ts-ignore
|
// For a currently for me unknown reason can In not simply just
|
||||||
this.propertyValue[name] = parameterData.value;
|
// set the value and it has to be this way.
|
||||||
|
const tempValue = JSON.parse(JSON.stringify(this.propertyValue));
|
||||||
|
tempValue[name] = parameterData.value;
|
||||||
|
Vue.set(this, 'propertyValue', tempValue);
|
||||||
},
|
},
|
||||||
async createCredentials (): Promise<void> {
|
async createCredentials (): Promise<void> {
|
||||||
const nodesAccess = this.nodesAccess.map((nodeType) => {
|
const nodesAccess = this.nodesAccess.map((nodeType) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user