We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9faa2c4 commit 7b32cb2Copy full SHA for 7b32cb2
2 files changed
public/js/databases.js
@@ -20,7 +20,7 @@ export class Databases extends Component {
20
21
componentDidUpdate(_prevProps, prevState) {
22
// If there's only one database, select it.
23
- if (this.databases() && this.databases().length === 1) {
+ if (this.databases() && this.databases().length === 1 && this.state.currentlySelectedDatabases.length === 0) {
24
this.setState({currentlySelectedDatabases: this.databases()});
25
}
26
0 commit comments