Skip to content

Commit

Permalink
Close gateway url change popup after click submit
Browse files Browse the repository at this point in the history
  • Loading branch information
cypt4 committed Oct 28, 2022
1 parent 8e04a5c commit 1b7c413
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class ChangeIpfsGatewayDialog extends ChangeIpfsGatewayDialogBase {
this.isUrlValid_ = success
if (success) {
this.setPrefValue(this.pref.key, this.gatewayUrl_);
this.fire('close');
this.dispatchEvent(new Event('close'));
} else {
this.invalidAddressMessage_ = this.i18n('ipfsErrorInvalidAddressOrigin')
}
Expand Down

0 comments on commit 1b7c413

Please sign in to comment.