fixup: this is already done in _buildModal

pull/21833/head
Bruno Windels 2020-02-06 13:13:37 +01:00
parent 70a4d3415e
commit 4cd4110a52
1 changed files with 0 additions and 1 deletions

View File

@ -201,7 +201,6 @@ class ModalManager {
*/
createDialogAsync(prom, props, className, isPriorityModal, isStaticModal, options = {}) {
const {modal, closeDialog, onFinishedProm} = this._buildModal(prom, props, className, options);
modal.close = closeDialog;
if (isPriorityModal) {
// XXX: This is destructive
this._priorityModal = modal;