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

Change variable init

parent 39141f4a
......@@ -17,8 +17,7 @@ export default {
const { name, value } = event.target;
if (this.promVariables[name] !== value) {
const changedVariable = {};
changedVariable[name] = value;
const changedVariable = { [name]: value };
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