Skip to content

Commit

Permalink
Merge pull request #1814 from navikt/fix_broken_tilgangskombinasjon
Browse files Browse the repository at this point in the history
fiks feil i sjekk for navtjeneste
  • Loading branch information
kenglxn authored May 3, 2024
2 parents 8065970 + d1c2e55 commit 8dc4e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/funksjonerForAmplitudeLogging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const useLoggBedriftValgtOgTilganger = (org: OrganisasjonInfo | undefined
if (isLoading) return;

const navtjenestetilganger = Object.entries(org.altinntilgang)
.filter(([key, value]) => key in NAVtjenesteId && value === true)
.filter(([key, value]) => value === true && NAVtjenesteId.includes(key))
.map(([key]) => key);

const tilgangskombinasjon = [
Expand Down

0 comments on commit 8dc4e1c

Please sign in to comment.