Skip to content

Commit

Permalink
Fix selecting option in more results select on pipeline simulator pag…
Browse files Browse the repository at this point in the history
…e. (#19413)

* Fixing more results select on pipeline simulator page.

* Adding changelog.
  • Loading branch information
linuspahl authored and ousmaneo committed Jun 4, 2024
1 parent f601de7 commit bdd4fe4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions changelog/unreleased/issue-18932.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
type="f"
message="Fix selecting option in more results select on pipeline simulator page."

issues=["18932"]
pulls=["19413"]
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class SimulationResults extends React.Component {
const { viewOption } = this.state;

return (
<MenuItem key={option} eventKey={option} active={viewOption === option}>
<MenuItem key={option} onSelect={() => this._changeViewOptions(option)} active={viewOption === option}>
{text}
</MenuItem>
);
Expand Down Expand Up @@ -148,7 +148,6 @@ class SimulationResults extends React.Component {
<div className="pull-right">
<DropdownButton id="simulation-view-options"
title="More results"
onSelect={this._changeViewOptions}
bsStyle="default"
bsSize="small"
pullRight>
Expand Down

0 comments on commit bdd4fe4

Please sign in to comment.