You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
fixup: this is already done in _buildModal
This commit is contained in:
@@ -201,7 +201,6 @@ class ModalManager {
|
|||||||
*/
|
*/
|
||||||
createDialogAsync(prom, props, className, isPriorityModal, isStaticModal, options = {}) {
|
createDialogAsync(prom, props, className, isPriorityModal, isStaticModal, options = {}) {
|
||||||
const {modal, closeDialog, onFinishedProm} = this._buildModal(prom, props, className, options);
|
const {modal, closeDialog, onFinishedProm} = this._buildModal(prom, props, className, options);
|
||||||
modal.close = closeDialog;
|
|
||||||
if (isPriorityModal) {
|
if (isPriorityModal) {
|
||||||
// XXX: This is destructive
|
// XXX: This is destructive
|
||||||
this._priorityModal = modal;
|
this._priorityModal = modal;
|
||||||
|
|||||||
Reference in New Issue
Block a user