🐛 Fix issue that parameters did not always get set correctly from

external windows
This commit is contained in:
Jan Oberhauser 2019-07-10 11:46:59 +02:00
parent d80b703dfd
commit bba3154ed5

View file

@ -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) => {