Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 1063 remove missing credentials usecases #1088

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading