Skip to content

Commit

Permalink
Merge branch 'release/v2.1.0-RC2' into feat/893/imprint
Browse files Browse the repository at this point in the history
  • Loading branch information
lavanya-bmw authored Jul 16, 2024
2 parents 8ab169c + 087b451 commit b999c5e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
- **Imprint**:
- updated imprint page with anonymized data [#906](https://github.com/eclipse-tractusx/portal-frontend/pull/906)

### Bugfixes

- **User Management**:
- Fix disable button state when deselect all checkboxes [#923](https://github.com/eclipse-tractusx/portal-frontend/pull/923)

## 2.1.0-RC1

### Change
Expand Down
9 changes: 5 additions & 4 deletions src/components/overlays/EditPortalRoles/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,11 @@ export default function EditPortalRoles({ id }: { id: string }) {
}

const checkConfirmButton = () =>
assignedRoles &&
selectedRoles &&
assignedRoles.length === selectedRoles.length &&
assignedRoles.every((value) => selectedRoles.includes(value))
selectedRoles.length === 0 ||
(assignedRoles &&
selectedRoles &&
assignedRoles.length === selectedRoles.length &&
assignedRoles.every((value) => selectedRoles.includes(value)))

return (
<>
Expand Down

0 comments on commit b999c5e

Please sign in to comment.