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

Move region information and server count to the "More" section on both
types of tiles.
pull/12487/head
Saúl Ibarra Corretgé 2 years ago committed by Saúl Ibarra Corretgé
parent f5fc524030
commit 73160de3b7
  1. 7
      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>
);

Loading…
Cancel
Save