Skip to content

Commit

Permalink
lib: add showClose as Dialog's prop
Browse files Browse the repository at this point in the history
  • Loading branch information
skobyda committed Aug 14, 2023
1 parent 3a735ec commit f8eee3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/lib/cockpit-components-dialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class Dialog extends React.Component {
<Modal position="top" variant={this.props.variant || "medium"}
titleIconVariant={this.props.titleIconVariant}
onEscapePress={() => undefined}
showClose={false}
showClose={this.props.showClose}
id={this.props.id}
isOpen
help={help}
Expand Down

0 comments on commit f8eee3f

Please sign in to comment.