1
0
mirror of https://github.com/flarum/core.git synced 2025-08-02 14:37:49 +02:00

Extract ModalManagerState from ModalManager (#2162)

This commit is contained in:
Alexander Skvortsov
2020-06-30 19:59:16 -04:00
committed by GitHub
parent 4f181c84fc
commit 44376cef61
17 changed files with 130 additions and 111 deletions

View File

@@ -180,8 +180,7 @@ export default class ForumApplication extends Application {
if (payload.loggedIn) {
window.location.reload();
} else {
const modal = new SignUpModal(payload);
this.modal.show(modal);
this.modal.show(SignUpModal, payload);
}
}
}