Skip to content

Commit

Permalink
Merge pull request #1104 from equinor/bugfix-nil-ad-users
Browse files Browse the repository at this point in the history
Always set adUsers and adGroups to empty array incase its missing
  • Loading branch information
Richard87 authored Sep 26, 2024
2 parents 5c57d10 + d8d81fc commit 86659ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/page-configuration/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ export function PageConfiguration({ appName }: { appName: string }) {
{registration?.name && (
<>
<Overview
adGroups={registration.adGroups}
adUsers={registration.adUsers}
adGroups={registration.adGroups ?? []}
adUsers={registration.adUsers ?? []}
appName={appName}
/>
<section className="grid grid--gap-medium">
Expand Down

0 comments on commit 86659ab

Please sign in to comment.