Skip to content

Commit

Permalink
updated the close logic
Browse files Browse the repository at this point in the history
Signed-off-by: Prakash P S <prakashps@Prakashs-MacBook-Pro.local>
  • Loading branch information
Prakash P S authored and Prakash P S committed Sep 12, 2023
1 parent 1ae3d11 commit dcd666b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ class UpdateChannelMspModal extends React.Component {
this.props.updateState(SCOPE, {
submit_identity_options: null,
});
this.props.onClose();
}

onSubmit = () => {
Expand Down Expand Up @@ -471,7 +472,7 @@ class UpdateChannelMspModal extends React.Component {
title="update_msp_definition"
disable_focus_trap={true}
loading={this.props.loading}
onClose={this.props.onClose}
onClose={this.onClose}
onSubmit={this.onSubmit}
submitButtonLabel={translate('update_msp_definition')}
error={this.props.error}
Expand Down

0 comments on commit dcd666b

Please sign in to comment.