Skip to content

Commit

Permalink
Remove ambiguous operators
Browse files Browse the repository at this point in the history
  • Loading branch information
danesparza committed Dec 28, 2020
1 parent 7ea2cec commit 5bead71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/selectors/DatabaseSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class DatabaseSelector extends Component {

// Look up the current server:
let selectedServer = SettingsStore.getServer(currentServer);
let serverDatabases = selectedServer && selectedServer.databases || [];
let serverDatabases = selectedServer.databases || [];

// If we have no databases, display a message and give the ability to refresh
if(serverDatabases.length < 1)
Expand Down

0 comments on commit 5bead71

Please sign in to comment.