aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/components/ThunderstoreModCard.vue
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2023-10-13 02:52:43 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2023-10-13 02:52:43 +0200
commit1740f79673b4aad700fbd131e83bb7beab3b7a4e (patch)
tree8ce3dba4705559133d0cc4103e98440a42637792 /src-vue/src/components/ThunderstoreModCard.vue
parent475ddbbede706624f6b332c06a035f2319a88f8e (diff)
downloadFlightCore-1740f79673b4aad700fbd131e83bb7beab3b7a4e.tar.gz
FlightCore-1740f79673b4aad700fbd131e83bb7beab3b7a4e.zip
refactor: Rename all occurences of `_caller`
to `_wrapper` To prepare for moving those functions to modules
Diffstat (limited to 'src-vue/src/components/ThunderstoreModCard.vue')
-rw-r--r--src-vue/src/components/ThunderstoreModCard.vue2
1 files changed, 1 insertions, 1 deletions
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<string>("install_mod_caller", { gameInstall: this.$store.state.game_install, thunderstoreModString: this.latestVersion.full_name }).then((message) => {
+ await invoke<string>("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) => {