|
@@ -515,12 +515,14 @@ class ConnectionStatsTable extends Component<Props> {
|
515
|
515
|
|| transport[0].remoteCandidateType === 'relay';
|
516
|
516
|
}
|
517
|
517
|
|
518
|
|
- let additionalData = null;
|
|
518
|
+ const additionalData = [];
|
519
|
519
|
|
520
|
520
|
if (isP2P) {
|
521
|
|
- additionalData = isTURN
|
522
|
|
- ? <span>{ t('connectionindicator.turn') }</span>
|
523
|
|
- : <span>{ t('connectionindicator.peer_to_peer') }</span>;
|
|
521
|
+ additionalData.push(
|
|
522
|
+ <span>{ t('connectionindicator.peer_to_peer') }</span>);
|
|
523
|
+ }
|
|
524
|
+ if (isTURN) {
|
|
525
|
+ additionalData.push(<span>{ t('connectionindicator.turn') }</span>);
|
524
|
526
|
}
|
525
|
527
|
|
526
|
528
|
// First show remote statistics, then local, and then transport type.
|