diff --git a/CHANGELOG.md b/CHANGELOG.md index d8ca168e6..052aefd41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -48,6 +48,8 @@ - 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) +- **Use Case participation** + - Removes use cases without verified credentials from the "Use Case Participation" list [#1088](https://github.com/eclipse-tractusx/portal-frontend/pull/1088) ## 2.2.0 diff --git a/src/components/pages/UsecaseParticipation/index.tsx b/src/components/pages/UsecaseParticipation/index.tsx index bc8f10b27..e348fefc3 100644 --- a/src/components/pages/UsecaseParticipation/index.tsx +++ b/src/components/pages/UsecaseParticipation/index.tsx @@ -53,6 +53,8 @@ export default function UsecaseParticipation() { const dispatch = useDispatch() const { data, refetch, isLoading } = useFetchUsecaseQuery() + const useCaseList = + data?.filter((usecase) => usecase.verifiedCredentials.length) ?? [] useEffect(() => { refetch() @@ -192,7 +194,7 @@ export default function UsecaseParticipation() { /> ) : ( - data?.map((item) => { + useCaseList.map((item) => { return (