Skip to content

Commit

Permalink
elyra-ai#2232 Expression Builder: After editing in flyout, user need…
Browse files Browse the repository at this point in the history
…s to click icon twice to open Editor (elyra-ai#2233)

Signed-off-by: Michael Pavlik <[email protected]>
Co-authored-by: Michael Pavlik <[email protected]>
  • Loading branch information
mikieyx and Michael Pavlik authored Nov 4, 2024
1 parent a185712 commit 71d1433
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -326,14 +326,13 @@ class ExpressionControl extends React.Component {
}

const reactIntl = this.props.controller.getReactIntl();
const Calculator24 = React.forwardRef((props, ref) => <Calculator ref={ref} size={24} {...props} />);

const button = this._showBuilderButton() ? (
<Button kind="ghost" size="sm"
className="properties-expression-button"
disabled={this.props.state === STATES.DISABLED || this.props.readOnly}
onClick={this.showExpressionBuilder}
renderIcon={Calculator24}
renderIcon={Calculator}
iconDescription={formatMessage(reactIntl, MESSAGE_KEYS.EXPRESSION_BUILDER_ICON_DESCRIPTION)}
tooltipPosition="right"
hasIconOnly
Expand Down

0 comments on commit 71d1433

Please sign in to comment.