From c9d4f35f1a01f7ac420f9f3ba1ec3f48f762a599 Mon Sep 17 00:00:00 2001 From: runarvestmann Date: Tue, 14 Jan 2025 15:17:58 +0000 Subject: [PATCH] Change conditional --- apps/web/screens/ServiceWeb/utils/index.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/web/screens/ServiceWeb/utils/index.ts b/apps/web/screens/ServiceWeb/utils/index.ts index 64b20e6daed4..64631a10023f 100644 --- a/apps/web/screens/ServiceWeb/utils/index.ts +++ b/apps/web/screens/ServiceWeb/utils/index.ts @@ -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')) ) }