diff options
Diffstat (limited to 'src-vue')
-rw-r--r-- | src-vue/src/plugins/store.ts | 2 | ||||
-rw-r--r-- | src-vue/src/views/DeveloperView.vue | 4 | ||||
-rw-r--r-- | src-vue/src/views/ModsView.vue | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src-vue/src/plugins/store.ts b/src-vue/src/plugins/store.ts index 18191555..ee4af283 100644 --- a/src-vue/src/plugins/store.ts +++ b/src-vue/src/plugins/store.ts @@ -252,7 +252,7 @@ export const store = createStore<FlightCoreStore>({ } // Call back-end for installed mods - await invoke("get_installed_mods_caller", { gameInstall: game_install }) + await invoke("get_installed_mods_and_properties", { gameInstall: game_install }) .then((message) => { state.installed_mods = (message as NorthstarMod[]); }) diff --git a/src-vue/src/views/DeveloperView.vue b/src-vue/src/views/DeveloperView.vue index 9f8881d8..f199ddaf 100644 --- a/src-vue/src/views/DeveloperView.vue +++ b/src-vue/src/views/DeveloperView.vue @@ -111,7 +111,7 @@ export default defineComponent({ game_path: this.$store.state.game_path, install_type: this.$store.state.install_type } as GameInstall; - await invoke("disable_all_but_core_caller", { gameInstall: game_install }).then((message) => { + await invoke("disable_all_but_core", { gameInstall: game_install }).then((message) => { ElNotification({ title: 'Success', message: "Disabled all mods but core", @@ -133,7 +133,7 @@ export default defineComponent({ game_path: this.$store.state.game_path, install_type: this.$store.state.install_type } as GameInstall; - await invoke("get_installed_mods_caller", { gameInstall: game_install }).then((message) => { + await invoke("get_installed_mods_and_properties", { gameInstall: game_install }).then((message) => { // Simply console logging for now // In the future we should display the installed mods somewhere console.log(message); diff --git a/src-vue/src/views/ModsView.vue b/src-vue/src/views/ModsView.vue index b1d1aeff..af3b58a3 100644 --- a/src-vue/src/views/ModsView.vue +++ b/src-vue/src/views/ModsView.vue @@ -48,7 +48,7 @@ export default defineComponent({ // enable/disable specific mod try { - await invoke("set_mod_enabled_status_caller", { + await invoke("set_mod_enabled_status", { gameInstall: game_install, modName: mod.name, // Need to set it to the opposite of current state, |