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:
committed by
GitHub
parent
4f181c84fc
commit
44376cef61
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user