fix connection status tabs

This commit is contained in:
Ramón Souza 2023-01-11 09:27:31 -03:00
parent d42de5e6f8
commit 45b02a1fff

View File

@ -338,7 +338,7 @@ class ConnectionStatusComponent extends PureComponent {
if (isConnectionStatusEmpty(connectionStatus)) return this.renderEmpty();
let connections = connectionStatus;
if (selectedTab === 2) {
if (selectedTab === 1) {
connections = connections.filter(conn => conn.you);
if (isConnectionStatusEmpty(connections)) return this.renderEmpty();
}