Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #286 from navikt/dev
Browse files Browse the repository at this point in the history
Prodsett nullsjekk på fraDato i sivilstand
  • Loading branch information
Mathiamu authored May 25, 2022
2 parents 642233d + b372627 commit a06920c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
40 changes: 20 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
},
"dependencies": {
"@craco/craco": "^6.4.3",
"@navikt/ds-css": "0.16.17",
"@navikt/ds-css": "0.16.19",
"@navikt/ds-css-internal": "0.7.3",
"@navikt/ds-icons": "0.8.9",
"@navikt/ds-icons": "0.8.10",
"@navikt/ds-react": "0.17.21",
"@navikt/ds-react-internal": "0.12.22",
"@navikt/fnrvalidator": "^1.1.4",
Expand Down
2 changes: 1 addition & 1 deletion src/components/paneler/innhold/personaliaV2/sivilstand.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function SivilstandBolk(props: { sivilstand: PersonaliaSivilstandNy }) {
return (
<div className="overinformasjon underinformasjon">
<Normaltekst className="innrykk">{formateStringInUpperAndLowerCaseSivilstand(sivilstand)}</Normaltekst>
<Normaltekst className="innrykk">Fra: {formateLocalDate(fraDato)}</Normaltekst>
{fraDato && <Normaltekst className="innrykk">Fra: {formateLocalDate(fraDato)}</Normaltekst>}
{sivilstand && (
<Undertekst className="kilde-tekst">
Registrert {registrertDato && formateLocalDate(registrertDato)}
Expand Down

0 comments on commit a06920c

Please sign in to comment.