Skip to content

Commit

Permalink
Change conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
RunarVestmann committed Jan 14, 2025
1 parent 36164ee commit c9d4f35
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 c9d4f35

Please sign in to comment.