Skip to content

Commit

Permalink
fiks feil i sjekk for navtjeneste
Browse files Browse the repository at this point in the history
  • Loading branch information
kenglxn committed May 3, 2024
1 parent 8065970 commit d1c2e55
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 d1c2e55

Please sign in to comment.