Add firstname and lastname
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma 2024-02-08 18:17:42 +01:00
parent f0646a8f6a
commit 47afa20a01

View File

@ -64,6 +64,8 @@ export function reducer(state = initialState, action: appCommonActions.Actions )
code:a.user.code, code:a.user.code,
email:claims["email"]!== undefined ? claims["email"] : a.user.name, email:claims["email"]!== undefined ? claims["email"] : a.user.name,
name:claims["name"]!== undefined?claims["name"] : a.user.email, name:claims["name"]!== undefined?claims["name"] : a.user.email,
lastName:a.user.lastName,
firstName:a.user.firstName,
claims:claims, claims:claims,
searchable: false searchable: false
}; };