diff --git a/frontend/src/services/organization.service.ts b/frontend/src/services/organization.service.ts index e0c18fb..beef946 100644 --- a/frontend/src/services/organization.service.ts +++ b/frontend/src/services/organization.service.ts @@ -30,6 +30,7 @@ interface BackendUser { email: string role: UserRole isActive: boolean + homeLocationName: string | null } interface BackendOrg { @@ -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], })) diff --git a/frontend/src/types/index.ts b/frontend/src/types/index.ts index d526ddd..ec38087 100644 --- a/frontend/src/types/index.ts +++ b/frontend/src/types/index.ts @@ -229,6 +229,7 @@ export interface SettingsUser { colorBg: string colorText: string permissions: UserPermissions + homeLocationName: string | null } // ============================================================ diff --git a/frontend/src/views/settings/UsersTab.vue b/frontend/src/views/settings/UsersTab.vue index 0f2c7d0..a6b0d01 100644 --- a/frontend/src/views/settings/UsersTab.vue +++ b/frontend/src/views/settings/UsersTab.vue @@ -25,6 +25,7 @@
{{ user.firstName }} {{ user.lastName }}
{{ user.email }}
+
{{ user.homeLocationName }}