show last access in profile

This commit is contained in:
Surya Paolo
2022-12-10 02:42:07 +01:00
parent a521161ae9
commit 955c4daaa1
4 changed files with 4 additions and 3 deletions

View File

@@ -106,7 +106,7 @@
>
<q-item-section avatar>
<q-avatar round size="48px">
<img :src="userStore.getImgUserByUsername(myvalue)" />
<img :src="userStore.getImgByProfile(row)" />
<q-badge v-if="tools.isUserOnline(row)" align="top" floating color="green">online</q-badge>
</q-avatar>
</q-item-section>

View File

@@ -203,6 +203,7 @@ export default defineComponent({
mytab,
getImgUserByUsername,
gotoPage,
userStore,
}
}

View File

@@ -116,7 +116,7 @@
>
<q-item-section avatar>
<q-avatar round size="48px">
<img :src="getImgUserByUsername(user.username)" />
<img :src="userStore.getImgByProfile(user)" />
<q-badge
v-if="tools.isUserOnline(user)"
align="top"

View File

@@ -37,7 +37,7 @@
<div class="">
<q-avatar size="140px">
<q-img
:src="getImgUser()"
:src="myuser.profile ? getImgUser(myuser.profile) : ''"
:alt="username"
img-class="imgprofile"
height="140px"