Avatar stuff
This commit is contained in:
parent
1cae37bade
commit
a254cbe426
2 changed files with 12 additions and 3 deletions
|
@ -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",
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
<div class="column is-3 has-text-centered">
|
||||
<h1 class="title">{{$store.state.user.username}}</h1>
|
||||
<div class="box has-text-centered">
|
||||
<img :src="'https://cdn.kaverti.com/user/avatars/full/' + $store.state.user.avatar + '.png'">
|
||||
<b-button :loading="refreshAvatarLoading" class="is-info" @click="refresh()">Re-render</b-button>
|
||||
<img :src="'https://cdn.kaverti.com/user/avatars/full/' + $store.state.user.avatar + '.png'"><br>
|
||||
<b-button :loading="refreshAvatarLoading" class="is-info" @click="refresh()">{{$t('avatar.reRender')}}</b-button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column">
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue