Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(connection-stats) make local / remote layout consistent

Saúl Ibarra Corretgé73160de3b7e5
diff --git a/react/features/connection-stats/components/ConnectionStatsTable.tsx b/react/features/connection-stats/components/ConnectionStatsTable.tsx
index fb03cb0ab1..573c441192 100644
--- a/react/features/connection-stats/components/ConnectionStatsTable.tsx
+++ b/react/features/connection-stats/components/ConnectionStatsTable.tsx
@@ -321,7 +321,8 @@ class ConnectionStatsTable extends Component<IProps> {
<tbody>
{ isLocalVideo ? this._renderBandwidth() : null }
{ isLocalVideo ? this._renderTransport() : null }
- { isLocalVideo ? this._renderRegion() : null }
+ { this._renderRegion() }
+ { isLocalVideo ? this._renderBridgeCount() : null }
{ this._renderAudioSsrc() }
{ this._renderVideoSsrc() }
{ this._renderParticipantId() }
@@ -717,19 +718,15 @@ class ConnectionStatsTable extends Component<IProps> {
* @returns {ReactElement}
*/
_renderStatistics() {
- const isRemoteVideo = !this.props.isLocalVideo;
-
return (
<table>
<tbody>
{ this._renderConnectionSummary() }
{ this._renderBitrate() }
{ this._renderPacketLoss() }
- { isRemoteVideo ? this._renderRegion() : null }
{ this._renderResolution() }
{ this._renderFrameRate() }
{ this._renderCodecs() }
- { isRemoteVideo ? null : this._renderBridgeCount() }
</tbody>
</table>
);