From a254cbe426d71a3591a2da632859d5f9b75e783f Mon Sep 17 00:00:00 2001 From: Troplo Date: Sat, 10 Apr 2021 12:37:36 +1000 Subject: [PATCH] Avatar stuff --- src/locales/en.json | 9 +++++++++ src/views/Avatar.vue | 6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/locales/en.json b/src/locales/en.json index 3fc34ab..b0fe02d 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -336,6 +336,15 @@ "tCreate": { } }, + "avatar": { + "reRender": "Re-render avatar", + "hats": "Hats", + "faces": "Faces", + "shirts": "Shirts", + "pants": "Pants", + "collections": "Collections", + "debug": "Debug" + }, "currency": "Koins", "close": "Cancel", "tos": "Terms of Service", diff --git a/src/views/Avatar.vue b/src/views/Avatar.vue index 5e7a83a..b37bcbd 100644 --- a/src/views/Avatar.vue +++ b/src/views/Avatar.vue @@ -5,8 +5,8 @@

{{$store.state.user.username}}

- - Re-render +
+ {{$t('avatar.reRender')}}
@@ -76,7 +76,7 @@ export default { getItems() { this.loading = true; this.axios - .get(process.env.VUE_APP_APIENDPOINT + process.env.VUE_APP_APIVERSION + '/' + 'inventory/' + this.coreCategory) + .get(process.env.VUE_APP_APIENDPOINT + process.env.VUE_APP_APIVERSION + '/' + 'inventory/' + this.category) .then(res => { this.items = res.data.rows; this.count = res.data.count