diff --git a/client/src/components/History/model/syncCurrentHistoryToGalaxy.js b/client/src/components/History/model/syncCurrentHistoryToGalaxy.js index 7834bd84dec..93481d2e86d 100644 --- a/client/src/components/History/model/syncCurrentHistoryToGalaxy.js +++ b/client/src/components/History/model/syncCurrentHistoryToGalaxy.js @@ -30,7 +30,7 @@ export function syncCurrentHistoryToGalaxy(galaxy$, store, cfg = {}) { ); return historyId$.subscribe( - (id) => store.commit("betaHistory/setCurrentHistoryId", id), + (id) => store.dispatch("betaHistory/setCurrentHistoryId", id), (err) => console.warn("syncCurrentHistoryToGalaxy error", err), () => console.log("syncCurrentHistoryToGalaxy complete") );