-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* MOSIP-32604 added complete side nav Signed-off-by: Mayura Deshmukh <mayura.deshmukh@gmail.com> * MOSIP-32943 user profile extracted from response Signed-off-by: Mayura Deshmukh <mayura.deshmukh@gmail.com> --------- Signed-off-by: Mayura Deshmukh <mayura.deshmukh@gmail.com>
- Loading branch information
1 parent
dc75ee5
commit a878c96
Showing
6 changed files
with
155 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
let userProfile = null; | ||
|
||
export const setUserProfile = (userData) => { | ||
userProfile = { | ||
"userName": userData.userName, | ||
"firstName": userData.firstName, | ||
"lastName": userData.lastName, | ||
"email": userData.email, | ||
"orgName": userData.orgName, | ||
"partnerType": userData.partnerType, | ||
"langCode": userData.langCode, | ||
"roles": userData.roles | ||
} | ||
} | ||
|
||
export const getUserProfile = () => { | ||
return userProfile; | ||
} |