Skip to content

Commit 447a7df

Browse files
committed
Regression - Clear preSelectedDbs after it is applied
Commit 0617ccd caused the regression. See 6ba10de for why it is important to clear preSelectedDbs. Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
1 parent 561af9d commit 447a7df

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

public/js/search.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,7 @@ var Databases = React.createClass({
771771
var selectors = this.props.preSelectedDbs.map(db => `input[value=${db.id}]`);
772772
$(...selectors).prop('checked',true);
773773
this.handleClick(this.props.preSelectedDbs[0]);
774+
this.props.preSelectedDbs = null;
774775
}
775776
this.props.onDatabaseTypeChanged(this.state.type);
776777
}

0 commit comments

Comments
 (0)