Skip to content

Commit

Permalink
hide label too if component is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Remus committed Jan 24, 2025
1 parent edd2162 commit f3c09dd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/components/participantlist/ParticipantList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@ const ParticipantList = (): JSX.Element => {
<ParticipantListDiv>
{ isModerator && <>
<ListModerator />
<ListHeader>
{countdownTimerTitleLabel()}
</ListHeader>
{ edumeetConfig.countdownTimerEnabled && <CountdownTimer /> }
{ edumeetConfig.countdownTimerEnabled && <>
<ListHeader>
{countdownTimerTitleLabel()}
</ListHeader>
<CountdownTimer />
</> }
</>
}
{ (breakoutsEnabled && (rooms.length > 0 || canCreateRooms)) &&
Expand Down

0 comments on commit f3c09dd

Please sign in to comment.