diff options
author | Remy Raes <raes.remy@gmail.com> | 2022-10-02 22:28:27 +0200 |
---|---|---|
committer | Remy Raes <raes.remy@gmail.com> | 2022-10-02 22:28:27 +0200 |
commit | 22a7bd16852498a95f9733e228e126a644b9c3ed (patch) | |
tree | d46655565553a58c358a7ed62080d6a2202cf60f /src-vue/src/plugins/store.ts | |
parent | 8b1acb0af3a31260ac3357ede22ba737c1a96f86 (diff) | |
download | FlightCore-22a7bd16852498a95f9733e228e126a644b9c3ed.tar.gz FlightCore-22a7bd16852498a95f9733e228e126a644b9c3ed.zip |
refactor: type issues
Diffstat (limited to 'src-vue/src/plugins/store.ts')
-rw-r--r-- | src-vue/src/plugins/store.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src-vue/src/plugins/store.ts b/src-vue/src/plugins/store.ts index 87c8921f..67856b47 100644 --- a/src-vue/src/plugins/store.ts +++ b/src-vue/src/plugins/store.ts @@ -118,6 +118,7 @@ export const store = createStore({ * It invokes all Rust methods that are needed to initialize UI. */ async function _initializeApp(state: any) { + // @ts-ignore const result: GameInstall = await invoke("find_game_install_location_caller") .catch((err) => { // Gamepath not found or other error @@ -154,7 +155,7 @@ function _initializeListeners(state: any) { } /** - * This retrieves Northstar version tag, and stores it in application + * This retrieves Northstar version tag, and stores it in application * state, for it to be displayed in UI. */ async function _get_northstar_version_number(state: any) { @@ -167,7 +168,7 @@ async function _get_northstar_version_number(state: any) { .then((message) => { if (message) { state.northstar_state = NorthstarState.MUST_UPDATE; - } + } }) .catch((error) => { console.error(error); |