Commit 0870e096 authored by Jose Vargas's avatar Jose Vargas

Change variable init

parent 39141f4a
...@@ -17,8 +17,7 @@ export default { ...@@ -17,8 +17,7 @@ export default {
const { name, value } = event.target; const { name, value } = event.target;
if (this.promVariables[name] !== value) { if (this.promVariables[name] !== value) {
const changedVariable = {}; const changedVariable = { [name]: value };
changedVariable[name] = value;
this.setVariableData(changedVariable); this.setVariableData(changedVariable);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment