fix connection status tabs
This commit is contained in:
parent
d42de5e6f8
commit
45b02a1fff
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user