Skip to content

Commit

Permalink
Merge pull request #1977 from navikt/overskrifter-hjelpemiddelsentral…
Browse files Browse the repository at this point in the history
…er-flere-mottak

Overskrifter hjelpemiddelsentraler flere mottak
  • Loading branch information
terjeofnorway authored Aug 13, 2024
2 parents baef581 + 38bae35 commit c043e3a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@navikt/ds-react": "6.13.0",
"@navikt/ds-tokens": "6.13.0",
"@navikt/nav-dekoratoren-moduler": "3.0.0-beta.4",
"@navikt/nav-office-reception-info": "1.0.6",
"@navikt/nav-office-reception-info": "1.0.7",
"@reduxjs/toolkit": "2.2.6",
"csp-header": "5.2.1",
"dayjs": "1.11.11",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ export const OfficePageHeader = ({ officeDetails }: Props) => {
if (!Array.isArray(publikumsmottak) || publikumsmottak.length < 2) {
return '';
}

if (officeDetails.type === 'HMS') {
return '';
}

const allPlaces = publikumsmottak.reduce<string[]>((acc, place) => {
const { stedsbeskrivelse } = place;
if (stedsbeskrivelse) {
Expand Down

0 comments on commit c043e3a

Please sign in to comment.