@naviedu/room-platform-react 0.0.3-8.1 → 0.0.3-8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm.js +1 -1
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -16807,7 +16807,7 @@ function RoomParticipantActions(param) {
|
|
|
16807
16807
|
var resolvedParticipantIdentity = participantIdentity !== null && participantIdentity !== void 0 ? participantIdentity : mappedPresence === null || mappedPresence === void 0 ? void 0 : mappedPresence.participantIdentity;
|
|
16808
16808
|
var resolvedIsLocal = (_ref = isLocal !== null && isLocal !== void 0 ? isLocal : mappedPresence === null || mappedPresence === void 0 ? void 0 : mappedPresence.isLocal) !== null && _ref !== void 0 ? _ref : false;
|
|
16809
16809
|
var resolvedIsOnline = isOnline !== null && isOnline !== void 0 ? isOnline : Boolean(mappedPresence);
|
|
16810
|
-
var canUsePrivateRoom = (controlState === null || controlState === void 0 ? void 0 : controlState.mode) !== 'live';
|
|
16810
|
+
var canUsePrivateRoom = (controlState === null || controlState === void 0 ? void 0 : controlState.mode) && (controlState === null || controlState === void 0 ? void 0 : controlState.mode) !== 'live';
|
|
16811
16811
|
console.log('RoomParticipantActions.controlState?.mode', controlState === null || controlState === void 0 ? void 0 : controlState.mode);
|
|
16812
16812
|
var _useRoomPlatformPrivateRoom = useRoomPlatformPrivateRoom(), cancelPrivateRoom = _useRoomPlatformPrivateRoom.cancelPrivateRoom, currentPrivateRoomOperation = _useRoomPlatformPrivateRoom.currentPrivateRoomOperation;
|
|
16813
16813
|
var roomPlatformToast = useRoomPlatformToast();
|