From 1740f79673b4aad700fbd131e83bb7beab3b7a4e Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Fri, 13 Oct 2023 02:52:43 +0200 Subject: refactor: Rename all occurences of `_caller` to `_wrapper` To prepare for moving those functions to modules --- src-vue/src/components/ThunderstoreModCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-vue/src/components') diff --git a/src-vue/src/components/ThunderstoreModCard.vue b/src-vue/src/components/ThunderstoreModCard.vue index 54241e85..11be7545 100644 --- a/src-vue/src/components/ThunderstoreModCard.vue +++ b/src-vue/src/components/ThunderstoreModCard.vue @@ -243,7 +243,7 @@ export default defineComponent({ // Capture translation method in a context, so it can be used outside Vue component context. // (see https://github.com/R2NorthstarTools/FlightCore/issues/384) (async (translate: Function) => { - await invoke("install_mod_caller", { gameInstall: this.$store.state.game_install, thunderstoreModString: this.latestVersion.full_name }).then((message) => { + await invoke("install_mod_wrapper", { gameInstall: this.$store.state.game_install, thunderstoreModString: this.latestVersion.full_name }).then((message) => { showNotification(translate('mods.card.install_success', { modName: mod.name }), message); }) .catch((error) => { -- cgit v1.2.3