Skip to content

Commit

Permalink
fix: Retain "None" Option in Technical User Setup After Submission (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ss-nikunj authored Sep 17, 2024
1 parent d5b9a5e commit fb06d90
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
- Fixed 'activeTab' conditions to load data for Tab-2(Registration Process) [#1050](https://github.com/eclipse-tractusx/portal-frontend/pull/1050)
- **App Release Process**:
- Fixed role upload does not work using Firefox [#1003](https://github.com/eclipse-tractusx/portal-frontend/pull/1003)
- Fixed "None" selection issue in Technical Integration -> App Release Process [#1036](https://github.com/eclipse-tractusx/portal-frontend/issues/1036)
- **Technical User Management**
- Display technicalUserManagement button based on role validation [#1073](https://github.com/eclipse-tractusx/portal-frontend/pull/1073)
- **OSP Consent form**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,11 @@ export default function TechnicalIntegration() {
)

useEffect(() => {
setTechUserProfiles(userProfiles)
// Set default value as "None" when user profiles don't have any roles
// Initially, value is "None"
setTechUserProfiles(
userProfiles.length > 0 ? userProfiles : [technicalUserNone]
)
}, [userProfiles])

const defaultValues = {
Expand Down

0 comments on commit fb06d90

Please sign in to comment.