diff --git a/react/features/connection-stats/components/ConnectionStatsTable.js b/react/features/connection-stats/components/ConnectionStatsTable.js index bd135b76d..04e58feeb 100644 --- a/react/features/connection-stats/components/ConnectionStatsTable.js +++ b/react/features/connection-stats/components/ConnectionStatsTable.js @@ -515,12 +515,14 @@ class ConnectionStatsTable extends Component { || transport[0].remoteCandidateType === 'relay'; } - let additionalData = null; + const additionalData = []; if (isP2P) { - additionalData = isTURN - ? { t('connectionindicator.turn') } - : { t('connectionindicator.peer_to_peer') }; + additionalData.push( + { t('connectionindicator.peer_to_peer') }); + } + if (isTURN) { + additionalData.push({ t('connectionindicator.turn') }); } // First show remote statistics, then local, and then transport type.