Skip to content

Commit

Permalink
Merge pull request #998 from Onlineberatung/OB-9060
Browse files Browse the repository at this point in the history
fix: show start video call only if group chat was joined
  • Loading branch information
web-mi authored Jan 27, 2024
2 parents aa96a69 + 278960b commit 84d7466
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 84d7466

Please sign in to comment.