diff --git a/client/src/store/index.ts b/client/src/store/index.ts index 4a9d265..e84de03 100644 --- a/client/src/store/index.ts +++ b/client/src/store/index.ts @@ -73,7 +73,7 @@ const store = createStore({ commit(SET_DETECTOR_CONFIG, { analyticUnitType, analyticUnitConfig }); }, async patchConfig({commit}, payload) { - patchConfig(payload); + await patchConfig(payload); this.dispatch('fetchConfig'); } },