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

Commit

Permalink
Change ID to UUID in Client (#2552)
Browse files Browse the repository at this point in the history
  • Loading branch information
elsiosanchez authored Aug 1, 2024
1 parent 08bf510 commit 35e0b65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/layout/components/Sidebar/Logo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,16 @@ export default defineComponent({
return store.getters['user/getOrganization']
})

const clientId = computed(() => {
const client = computed(() => {
const { client } = store.getters['user/getRole']
return client.uuid
return client
})

const imageUrl = computed(() => {
return pathImageWindows({
clientId: clientId.value,
clientId: client.value.uuid,
tableName: TABLE_NAME_CLIENT,
recordId: clientId.value,
recordId: client.value.id,
columnName: COLUMN_NAME,
resourceName: `${COLUMN_NAME}.png`
})
Expand Down Expand Up @@ -136,7 +136,7 @@ export default defineComponent({
title,
clientLogo,
imageUrl,
clientId,
client,
// Computed
getRole,
systemName,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/set-value-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function setSessionValues({
if (isEmptyValue(client)) return
const link = getPageFavicon({
logo: pathImageWindows({
clientId: client.id,
clientId: client.uuid,
tableName: TABLE_NAME_CLIENT,
recordId: client.id,
columnName: COLUMN_NAME,
Expand Down

0 comments on commit 35e0b65

Please sign in to comment.