mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-26 19:12:50 +00:00
fix: update professionId mapping in ProfilePage commit
This commit is contained in:
@@ -145,7 +145,7 @@ export function ProfilePage() {
|
||||
.unwrap()
|
||||
.then((data) => {
|
||||
setLoadedProfile({
|
||||
professionId: data.profession?.id || '',
|
||||
professionId: data.professionId || data.profession?.id || '',
|
||||
firstName: data.firstName || '',
|
||||
middleName: data.middleName || '',
|
||||
lastName: data.lastName || '',
|
||||
|
||||
Reference in New Issue
Block a user