aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/plugins/store.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src-vue/src/plugins/store.ts')
-rw-r--r--src-vue/src/plugins/store.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-vue/src/plugins/store.ts b/src-vue/src/plugins/store.ts
index 0d5d8893..4bb48f66 100644
--- a/src-vue/src/plugins/store.ts
+++ b/src-vue/src/plugins/store.ts
@@ -47,7 +47,7 @@ async function _initializeApp(state: any) {
state.game_path = result.game_path;
// Check installed Northstar version if found
- await _get_northstar_version_number_and_set_button_accordingly(state);
+ await _get_northstar_version_number(state);
}
// TODO
@@ -76,7 +76,7 @@ function _initializeListeners(state: any) {
* This retrieves Northstar version tag, and stores it in application
* state, for it to be displayed in UI.
*/
-async function _get_northstar_version_number_and_set_button_accordingly(state: any) {
+async function _get_northstar_version_number(state: any) {
let northstar_version_number: string = await invoke("get_northstar_version_number_caller", { gamePath: state.game_path });
if (northstar_version_number && northstar_version_number.length > 0) {
state.installed_northstar_version = northstar_version_number;