aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src-vue/src/plugins')
-rw-r--r--src-vue/src/plugins/store.ts5
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);