Skip to content

Commit

Permalink
fix: retain "None" Selection for Technical Integration in Service Rel…
Browse files Browse the repository at this point in the history
…ease (#1212)
  • Loading branch information
ss-nikunj authored Oct 16, 2024
1 parent a488be4 commit 408a75e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
### Change

- **Service Subscriptions**

- rename 'Configure' button to 'Activate' button [#1150](https://github.com/eclipse-tractusx/portal-frontend/pull/1150)
- **Business Partner Invitation**
- support all language characters for company names [#1189](https://github.com/eclipse-tractusx/portal-frontend/pull/1189)
Expand All @@ -34,6 +35,11 @@
- **Company Subscriptions**
- fixed wrong hyperlink and role requirement for technical user details in company subscription details [#1220](https://github.com/eclipse-tractusx/portal-frontend/pull/1220)

### Bugfixes

- **Service Release Process**
- Fixed "None" selection issue in Technical Integration [#1161](https://github.com/eclipse-tractusx/portal-frontend/issues/1161)

## 2.3.0-alpha.2

### Change
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@ export default function OfferTechnicalIntegration() {
)

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

const defaultValues = {
Expand Down

0 comments on commit 408a75e

Please sign in to comment.