commit | 54e0d79ab567ce4cb6bbb8e6ade1a7aa343d4a07 | [log] [tgz] |
---|---|---|
author | Milutin Kristofic <milutin@google.com> | Thu Jul 22 15:05:11 2021 +0200 |
committer | Milutin Kristofic <milutin@google.com> | Thu Jul 22 13:07:43 2021 +0000 |
tree | d49da2eddd2a44f0774da2fdde92bc05d250354d | |
parent | 8ee8963acc2994cab33d28307c66a8fba717409f [diff] |
Close delete dialog after confirming deleting change Currently when user confirms delete dialog, user ends up in dashboard with gray layer. This is artefact of not closing delete dialog. Bug: Google b/194328301 Change-Id: I638cf988c65e5f484408f8be101df2f621b36a99
diff --git a/polygerrit-ui/app/elements/change/gr-change-actions/gr-change-actions.ts b/polygerrit-ui/app/elements/change/gr-change-actions/gr-change-actions.ts index a0b1794..fce7db9 100644 --- a/polygerrit-ui/app/elements/change/gr-change-actions/gr-change-actions.ts +++ b/polygerrit-ui/app/elements/change/gr-change-actions/gr-change-actions.ts
@@ -1486,6 +1486,7 @@ } _handleDeleteConfirm() { + this._hideAllDialogs(); this._fireAction( '/', assertUIActionInfo(this.actions[ChangeActions.DELETE]),