import {gql} from '@apollo/client'; import React, { useState } from "react"; import usePatchedSubscription from "./usePatchedSubscription"; const ParentOfUserList = ({userId}) => { const [shouldRender, setShouldRender] = useState(true); return (
Id | */}Name | Role | Emoji | Avatar | Presenter | Mobile | ClientType | Sharing Camera | Whiteboard Multiuser | Pinned | Sharing Mic | ListenOnly | Talking | Muted | Locked | Last BreakoutRoom | connectionAliveAt | Disconnected (leftFlag) | LoggedOut |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{user.userId} | */}
{user.name}
|
{user.role} | {user.emoji} | {user.avatar} | {user.presenter === true ? 'Yes' : 'No'} | {user.mobile === true ? 'Yes' : 'No'} | {user.clientType} | 0 ? '#A0DAA9' : ''}}>{user.cameras.length > 0 ? 'Yes' : 'No'} | {user.hasDrawPermissionOnCurrentPage ? 'Yes' : 'No'} | {user.pinned === true ? 'Yes' : 'No'} | {user.voice?.joined === true ? 'Yes' : 'No'} | {user.voice?.listenOnly === true ? 'Yes' : 'No'} | {user.voice?.talking === true ? 'Yes' : 'No'} | {user.voice?.muted === true ? 'Yes' : 'No'} | {user.locked === true ? 'Yes' : 'No'} | {user.lastBreakoutRoom?.shortName}{user.lastBreakoutRoom?.currentlyInRoom === true ? ' (Online)' : ''} | {user?.connectionStatus?.connectionAliveAt} | {user.disconnected === true ? 'Yes' : 'No'} | {user.loggedOut === true ? 'Yes' : 'No'} |