Skip to content

Commit

Permalink
fix: Include street number in OSP company details form (#1084)
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanGerada3 authored Sep 17, 2024
1 parent fb06d90 commit 3e4ae92
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## Unreleased

### Bugfixes

- **OSP Consent form**
- Display invited company name in OSP consent form (Previously hard coded with 'BMW') [#1083](https://github.com/eclipse-tractusx/portal-frontend/pull/1083)
- Fixed missing street number in form [#1081](https://github.com/eclipse-tractusx/portal-frontend/issues/1081)

## Unreleased 2.2.0-RC3

### Feature

- **Roles and Permissions**
Expand Down Expand Up @@ -40,8 +48,6 @@
- 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**
- Display invited company name in OSP consent form (Previously hard coded with 'BMW') [#1083](https://github.com/eclipse-tractusx/portal-frontend/pull/1083)

## 2.2.0

Expand Down
5 changes: 4 additions & 1 deletion src/components/pages/OSPConsent/CompanyDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,10 @@ export const CompanyDetails = ({
const tableData: TableType = {
head: [t('osp.companyName'), companyDetails?.name ?? ''],
body: [
[t('osp.street'), companyDetails?.streetName ?? ''],
[
t('osp.street'),
`${companyDetails?.streetName ?? ''} ${companyDetails?.streetNumber ?? ''}`,
],
[t('osp.zip'), companyDetails?.zipCode ?? ''],
[t('osp.city'), companyDetails?.city ?? ''],
[t('osp.region'), companyDetails?.region ?? ''],
Expand Down

0 comments on commit 3e4ae92

Please sign in to comment.