File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ interface BackendUser {
3030 email : string
3131 role : UserRole
3232 isActive : boolean
33+ homeLocationName : string | null
3334}
3435
3536interface BackendOrg {
@@ -77,6 +78,7 @@ export const organizationService = {
7778 email : u . email ,
7879 role : u . role ,
7980 isActive : u . isActive ,
81+ homeLocationName : u . homeLocationName ?? null ,
8082 ...ROLE_COLORS [ u . role ] ,
8183 permissions : ROLE_PERMISSIONS [ u . role ] ,
8284 } ) )
Original file line number Diff line number Diff line change @@ -229,6 +229,7 @@ export interface SettingsUser {
229229 colorBg : string
230230 colorText : string
231231 permissions : UserPermissions
232+ homeLocationName : string | null
232233}
233234
234235// ============================================================
Original file line number Diff line number Diff line change 2525 <div class =" min-w-0" >
2626 <div class =" font-medium truncate" >{{ user.firstName }} {{ user.lastName }}</div >
2727 <div class =" text-muted text-sm truncate" >{{ user.email }}</div >
28+ <div v-if =" user.homeLocationName" class =" text-muted text-sm truncate" >{{ user.homeLocationName }}</div >
2829 </div >
2930 </div >
3031 <div class =" flex items-center gap-3" >
You can’t perform that action at this time.
0 commit comments