do not allow slide/presentation change on breakout update
This commit is contained in:
parent
59a2efd8f0
commit
d6250cbe4d
@ -196,6 +196,7 @@ const BreakoutRoomUserAssignment: React.FC<ChildComponentProps> = ({
|
||||
setRoomPresentations,
|
||||
currentPresentation,
|
||||
roomPresentations,
|
||||
isUpdate,
|
||||
}) => {
|
||||
const intl = useIntl();
|
||||
|
||||
@ -337,7 +338,7 @@ const BreakoutRoomUserAssignment: React.FC<ChildComponentProps> = ({
|
||||
{intl.formatMessage(intlMessages.roomNameInputDesc)}
|
||||
</div>
|
||||
</Styled.FreeJoinLabel>
|
||||
{ presentations.length > 0 ? (
|
||||
{ presentations.length > 0 && !isUpdate ? (
|
||||
<Styled.BreakoutSlideLabel>
|
||||
<Styled.InputRooms
|
||||
value={getRoomPresentation(value)}
|
||||
|
@ -530,6 +530,7 @@ const CreateBreakoutRoom: React.FC<CreateBreakoutRoomProps> = ({
|
||||
currentPresentation={currentPresentation}
|
||||
currentSlidePrefix={CURRENT_SLIDE_PREFIX}
|
||||
getRoomPresentation={getRoomPresentation}
|
||||
isUpdate={isUpdate}
|
||||
/>
|
||||
</Styled.Content>
|
||||
</ModalFullscreen>
|
||||
|
@ -44,6 +44,7 @@ const RoomManagmentState: React.FC<RoomManagmentStateProps> = ({
|
||||
currentPresentation,
|
||||
currentSlidePrefix,
|
||||
getRoomPresentation,
|
||||
isUpdate,
|
||||
}) => {
|
||||
const intl = useIntl();
|
||||
const [selectedId, setSelectedId] = useState<string>('');
|
||||
@ -238,6 +239,7 @@ const RoomManagmentState: React.FC<RoomManagmentStateProps> = ({
|
||||
setRoomPresentations={setRoomPresentations}
|
||||
getRoomPresentation={getRoomPresentation}
|
||||
currentPresentation={currentPresentation}
|
||||
isUpdate={isUpdate}
|
||||
/>
|
||||
) : null
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user