Browse Source

await patchConfig

pull/25/head
Alexey Velikiy 3 years ago
parent
commit
5352570a48
  1. 2
      client/src/store/index.ts

2
client/src/store/index.ts

@ -73,7 +73,7 @@ const store = createStore<State>({
commit(SET_DETECTOR_CONFIG, { analyticUnitType, analyticUnitConfig });
},
async patchConfig({commit}, payload) {
patchConfig(payload);
await patchConfig(payload);
this.dispatch('fetchConfig');
}
},

Loading…
Cancel
Save