Skip to content

Commit

Permalink
fix: 1063 remove missing credentials usecases (#1088)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahmargi12 authored Sep 17, 2024
1 parent 3e4ae92 commit 90542d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 3 additions & 1 deletion src/components/pages/UsecaseParticipation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -192,7 +194,7 @@ export default function UsecaseParticipation() {
/>
</div>
) : (
data?.map((item) => {
useCaseList.map((item) => {
return (
<div className="useCase-list" key={uniqueId(item.useCase)}>
<li className="useCase-list-item">
Expand Down

0 comments on commit 90542d2

Please sign in to comment.