This commit is contained in:
parent
637ef335df
commit
c728dd182e
|
|
@ -572,7 +572,7 @@ const Meeting: React.FC = () => {
|
||||||
let row = list.filter((i: any) => i.roleId === '1' || i.isRoomManager)
|
let row = list.filter((i: any) => i.roleId === '1' || i.isRoomManager)
|
||||||
setCurrentLookUserAccount((res: any) => {
|
setCurrentLookUserAccount((res: any) => {
|
||||||
let has = row.find((x: any) => x.uid === res.uid)
|
let has = row.find((x: any) => x.uid === res.uid)
|
||||||
if (!has) {
|
if (!has && row.length) {
|
||||||
renderVideo(row[0].uid)
|
renderVideo(row[0].uid)
|
||||||
}
|
}
|
||||||
return res
|
return res
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue