Skip to content

Commit

Permalink
feat(ospm): update dependencies and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
lavanya-bmw committed Sep 20, 2024
1 parent 6bcb421 commit 1ab7788
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
- **Company Subscriptions**
- Update and bind API with filter options [#1062](https://github.com/eclipse-tractusx/portal-frontend/pull/1062)
- Add a tabular section to show up both app and service subscription data [#1101](https://github.com/eclipse-tractusx/portal-frontend/pull/1101)
- **Onboarding Service Provider Management**
- Added search to ospm table[#1132](https://github.com/eclipse-tractusx/portal-frontend/pull/1132)

### Bugfixes

Expand Down
4 changes: 2 additions & 2 deletions DEPENDENCIES
Original file line number Diff line number Diff line change
Expand Up @@ -759,8 +759,8 @@ npm/npmjs/@types/lodash/4.17.7, MIT, approved, clearlydefined
npm/npmjs/@types/node/20.11.30, MIT, approved, #13826
npm/npmjs/@types/papaparse/5.3.14, MIT, approved, #10964
npm/npmjs/@types/parse-json/4.0.2, MIT, approved, clearlydefined
npm/npmjs/@types/prop-types/15.7.11, MIT, approved, clearlydefined
npm/npmjs/@types/prop-types/15.7.12, MIT, approved, clearlydefined
npm/npmjs/@types/prop-types/15.7.11, MIT, approved, #16176
npm/npmjs/@types/prop-types/15.7.12, MIT, approved, #16176
npm/npmjs/@types/qs/6.9.15, MIT, approved, #14071
npm/npmjs/@types/react-dom/18.2.22, MIT, approved, #8256
npm/npmjs/@types/react-redux/7.1.33, MIT, approved, #10970
Expand Down
8 changes: 4 additions & 4 deletions src/components/pages/IDPManagement/IDPList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const IDPList = ({ isManagementOSP }: { isManagementOSP?: boolean }) => {
.sort((a: IdentityProvider, b: IdentityProvider) =>
(a?.displayName ?? '').localeCompare(b.displayName ?? '')
)
const [managedIdpData, setManagedIdpData] = useState(
const [idpsManagedData, setIdpsManagedData] = useState(
idpsData?.filter((a) => a.identityProviderTypeId === IDPCategory.MANAGED)
)
const [expr, setExpr] = useState<string>('')
Expand Down Expand Up @@ -365,9 +365,9 @@ export const IDPList = ({ isManagementOSP }: { isManagementOSP?: boolean }) => {
const searchFilter = idpManagedData?.filter(
(i) => i.alias === value || i.displayName === value
)
setManagedIdpData(searchFilter)
setIdpsManagedData(searchFilter)
setExpr(expr)
} else setManagedIdpData(idpManagedData)
} else setIdpsManagedData(idpManagedData)
}

return (
Expand Down Expand Up @@ -442,7 +442,7 @@ export const IDPList = ({ isManagementOSP }: { isManagementOSP?: boolean }) => {
isManagementOSP ? renderManagementOSPMenu(row) : renderMenu(row),
},
]}
rows={(isManagementOSP ? managedIdpData : idpsData) ?? []}
rows={(isManagementOSP ? idpsManagedData : idpsData) ?? []}
getRowId={(row: { [key: string]: string }) => row.identityProviderId}
hasBorder={false}
searchPlaceholder={isManagementOSP ? 'search' : undefined}
Expand Down

0 comments on commit 1ab7788

Please sign in to comment.