Commit 2958377d authored by Bryce Johnson's avatar Bryce Johnson

Update widget_store.js.es6

parent 9e0229bc
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
assignToData(key, val) { assignToData(key, val) {
// TODO: Remove when passed in json // TODO: Remove when passed in json
const base = { suggested_approvers: JSON.parse(this.dataset.suggestedApprovers) }; const base = { suggested_approvers: JSON.parse(this.dataset.suggestedApprovers) };
this.data[key] = Object.assign(base, val); this.data[key] = _.extend(base, val);
return this.data[key]; return this.data[key];
} }
} }
......
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