mirror of https://github.com/vector-im/riot-web
fixup: this is already done in _buildModal
parent
70a4d3415e
commit
4cd4110a52
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue