From 5352570a48575ed97fb4bdccd150c763f1745062 Mon Sep 17 00:00:00 2001 From: Alexey Velikiy Date: Tue, 9 Nov 2021 12:50:06 +0300 Subject: [PATCH] await patchConfig --- client/src/store/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); } },