Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Change by Cliend Uuid from User Info (#2569)
Browse files Browse the repository at this point in the history
  • Loading branch information
elsiosanchez authored Aug 12, 2024
1 parent fd7bd73 commit 5818686
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/layout/components/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ export default {
return this.$store.getters['user/getUserAvatar']
},
clientUuid() {
const { client } = this.$store.getters['user/getRole']
return client.uuid
const { client_uuid } = this.userInfo
return client_uuid
},
imageUrl() {
return pathImageWindows({
Expand Down
4 changes: 2 additions & 2 deletions src/layout/components/ProfilePreview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ export default defineComponent({
})
const clientId = computed(() => {
const { client } = store.getters['user/getRole']
return client.uuid
const { client_uuid } = userInfo.value
return client_uuid
})
const imageURL = computed(() => {
Expand Down
4 changes: 2 additions & 2 deletions src/views/profile/components/UserCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ export default defineComponent({
})
const clientId = computed(() => {
const { client } = store.getters['user/getRole']
return client.uuid
const { client_uuid } = userInfo.value
return client_uuid
})
const imageUrl = computed(() => {
Expand Down

0 comments on commit 5818686

Please sign in to comment.