From ed0cadf5ccb36ddffbf09e8a19bbc88f1b32f145 Mon Sep 17 00:00:00 2001 From: janrembold Date: Mon, 22 Apr 2024 10:23:31 +0200 Subject: [PATCH] fix: remove zipcode slash logic and consulting type check --- .../sessionsListItem/SessionListItemComponent.tsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/components/sessionsListItem/SessionListItemComponent.tsx b/src/components/sessionsListItem/SessionListItemComponent.tsx index fce844922..ca288065b 100644 --- a/src/components/sessionsListItem/SessionListItemComponent.tsx +++ b/src/components/sessionsListItem/SessionListItemComponent.tsx @@ -347,10 +347,6 @@ export const SessionListItemComponent = ({ sessionTopic = activeSession.user.username; } - const showConsultingType = - consultingType && !tenantData?.settings?.featureTopicsEnabled; - const zipCodeSlash = showConsultingType ? '/ ' : ''; - return (
) : (
- {activeSession.item.consultingType !== 1 && - !isAsker && + {!isAsker && !activeSession.isLive && !autoSelectPostcode - ? zipCodeSlash + activeSession.item.postcode + ? activeSession.item.postcode : null}
)}