From 03e6835565436c68d2ae26661460ea80c64f1ab5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ram=C3=B3n=20Souza?= Date: Fri, 9 Dec 2022 15:36:44 -0300 Subject: [PATCH] fix string in selectedTab comparison --- .../imports/ui/components/connection-status/modal/component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigbluebutton-html5/imports/ui/components/connection-status/modal/component.jsx b/bigbluebutton-html5/imports/ui/components/connection-status/modal/component.jsx index f8a6047078..2d56e14c95 100644 --- a/bigbluebutton-html5/imports/ui/components/connection-status/modal/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/connection-status/modal/component.jsx @@ -338,7 +338,7 @@ class ConnectionStatusComponent extends PureComponent { if (isConnectionStatusEmpty(connectionStatus)) return this.renderEmpty(); let connections = connectionStatus; - if (selectedTab === '2') { + if (selectedTab === 2) { connections = connections.filter(conn => conn.you); if (isConnectionStatusEmpty(connections)) return this.renderEmpty(); }