fix string in selectedTab comparison
This commit is contained in:
parent
6b6f3f4775
commit
03e6835565
@ -338,7 +338,7 @@ class ConnectionStatusComponent extends PureComponent {
|
||||
if (isConnectionStatusEmpty(connectionStatus)) return this.renderEmpty();
|
||||
|
||||
let connections = connectionStatus;
|
||||
if (selectedTab === '2') {
|
||||
if (selectedTab === 2) {
|
||||
connections = connections.filter(conn => conn.you);
|
||||
if (isConnectionStatusEmpty(connections)) return this.renderEmpty();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user