mirror of
https://github.com/flarum/core.git
synced 2025-10-11 15:04:25 +02:00
Extract AlertManagerState from AlertManager (#2163)
This commit is contained in:
committed by
GitHub
parent
aaebd3581f
commit
ea9d601338
@@ -122,7 +122,7 @@ export default class ChangeEmailModal extends Modal {
|
||||
|
||||
onerror(error) {
|
||||
if (error.status === 401) {
|
||||
error.alert.props.children = app.translator.trans('core.forum.change_email.incorrect_password_message');
|
||||
error.alert.children = app.translator.trans('core.forum.change_email.incorrect_password_message');
|
||||
}
|
||||
|
||||
super.onerror(error);
|
||||
|
Reference in New Issue
Block a user