Skip to content

Commit

Permalink
fix(web): Service web contact banner for Digital Iceland #17493 (#17498)
Browse files Browse the repository at this point in the history
  • Loading branch information
RunarVestmann authored Jan 15, 2025
1 parent f192cb1 commit c25f471
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions apps/web/screens/ServiceWeb/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ export { getServiceWebSearchTagQuery } from './getServiceWebSearchTagQuery'

export const shouldShowInstitutionContactBanner = (institutionSlug: string) => {
return (
institutionSlug &&
!institutionSlug.includes('tryggingastofnun') &&
!institutionSlug.includes('social-insurance-administration') &&
!institutionSlug.includes('vefstjorar') &&
!institutionSlug.includes('web-masters')
!institutionSlug ||
(!institutionSlug.includes('tryggingastofnun') &&
!institutionSlug.includes('social-insurance-administration') &&
!institutionSlug.includes('vefstjorar') &&
!institutionSlug.includes('web-masters'))
)
}

0 comments on commit c25f471

Please sign in to comment.