aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/views/DeveloperView.vue
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2023-01-04 20:58:54 +0100
committerGitHub <noreply@github.com>2023-01-04 20:58:54 +0100
commit4a63e92ea30fc65cf945b163d2757f17dd3c68cd (patch)
treeba920c2872f8bd9f6ee4ea338d630b4887e50010 /src-vue/src/views/DeveloperView.vue
parent131b101045bbc4419f98afe58557a8d532af9bd6 (diff)
downloadFlightCore-4a63e92ea30fc65cf945b163d2757f17dd3c68cd.tar.gz
FlightCore-4a63e92ea30fc65cf945b163d2757f17dd3c68cd.zip
refactor: Remove unnecessary caller function pattern (#128)
* refactor: Remove unnecessary caller function Instead call `disable_all_but_core` directly * refactor: Remove unnecessary caller function Instead call `get_installed_mods_and_properties` directly * refactor: Remove unused exposed backend function * refactor: Remove unnecessary caller function Instead call `set_mod_enabled_status` directly * refactor: Remove unnecessary caller function Instead call `verify_game_files` directly * refactor: Remove unnecessary caller function Instead call `get_log_list` directly
Diffstat (limited to 'src-vue/src/views/DeveloperView.vue')
-rw-r--r--src-vue/src/views/DeveloperView.vue4
1 files changed, 2 insertions, 2 deletions
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);