Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions frontend/src/services/organization.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ interface BackendUser {
email: string
role: UserRole
isActive: boolean
homeLocationName: string | null
}

interface BackendOrg {
Expand Down Expand Up @@ -77,6 +78,7 @@ export const organizationService = {
email: u.email,
role: u.role,
isActive: u.isActive,
homeLocationName: u.homeLocationName ?? null,
...ROLE_COLORS[u.role],
permissions: ROLE_PERMISSIONS[u.role],
}))
Expand Down
1 change: 1 addition & 0 deletions frontend/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ export interface SettingsUser {
colorBg: string
colorText: string
permissions: UserPermissions
homeLocationName: string | null
}

// ============================================================
Expand Down
1 change: 1 addition & 0 deletions frontend/src/views/settings/UsersTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<div class="min-w-0">
<div class="font-medium truncate">{{ user.firstName }} {{ user.lastName }}</div>
<div class="text-muted text-sm truncate">{{ user.email }}</div>
<div v-if="user.homeLocationName" class="text-muted text-sm truncate">{{ user.homeLocationName }}</div>
</div>
</div>
<div class="flex items-center gap-3">
Expand Down
Loading