Skip to content

Commit

Permalink
fix(company subscriptions): wrong hyperlink and role in subscription …
Browse files Browse the repository at this point in the history
…details (#1220)
  • Loading branch information
typecastcloud authored Oct 16, 2024
1 parent f420bc1 commit a488be4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
- **Partner Network**
- changed role to access page [#1234](https://github.com/eclipse-tractusx/portal-frontend/pull/1234)

### Bugfixes

- **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)

## 2.3.0-alpha.2

### Change
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ export default function CompanySubscriptionTechnical({
{
icon: false,
clickableLink:
userHasPortalRole(ROLES.VIEW_USER_ACCOUNT) &&
userHasPortalRole(ROLES.TECH_USER_VIEW) &&
detail.technicalUserData.length
? `/${PAGES.USER_DETAILS}/${detail.technicalUserData[0].id}`
? `/${PAGES.TECH_USER_DETAILS}/${detail.technicalUserData[0].id}`
: undefined,
},
],
Expand Down

0 comments on commit a488be4

Please sign in to comment.