Skip to content

Commit

Permalink
Update examples/breakout-rooms/src/components/RoomConfig/RoomConfig.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Frederico Estrela <[email protected]>
  • Loading branch information
dfosco and fredcido authored Dec 13, 2023
1 parent e13d463 commit 41bdd59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const RoomConfig: React.FunctionComponent<Props> = ({
{room.name}
</h3>
<IconButton
label={room.targetId ? `Room is set to ${title}` : "Set frame to room"}
label={room.targetId && title ? `Room is set to ${title}` : "Set frame to room"}
variant={room.targetId ? "outline" : "ghost"}
disabled={!isEditable}
onClick={() => onSelectTarget(room)}
Expand Down

0 comments on commit 41bdd59

Please sign in to comment.