Skip to content

Commit

Permalink
fix: show start video call only if group chat was joined
Browse files Browse the repository at this point in the history
  • Loading branch information
web-mi committed Jan 27, 2024
1 parent aa96a69 commit 278960b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/sessionHeader/GroupChatHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export const GroupChatHeader = ({
)}
</div>

{!isActive && isConsultant && (
{(!isActive || isJoinGroupChatView) && isConsultant && (
<Link
to={groupChatInfoLink}
className="sessionMenu__item--desktop sessionMenu__button"
Expand All @@ -178,6 +178,7 @@ export const GroupChatHeader = ({
)}

{isActive &&
!isJoinGroupChatView &&
isConsultant &&
releaseToggles.featureVideoGroupChatsEnabled && (
<div
Expand Down

0 comments on commit 278960b

Please sign in to comment.