mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
LoadingModal typing fix
This commit is contained in:
parent
968ece2c61
commit
bfc6ed2e99
|
@ -1,6 +1,7 @@
|
|||
import { ComponentProps } from '../../common/Component';
|
||||
import Modal from '../../common/components/Modal';
|
||||
|
||||
export default class LoadingModal extends Modal {
|
||||
export default class LoadingModal extends Modal<ComponentProps> {
|
||||
isDismissible() {
|
||||
return false;
|
||||
}
|
||||
|
@ -10,7 +11,7 @@ export default class LoadingModal extends Modal {
|
|||
}
|
||||
|
||||
title() {
|
||||
return app.translator.trans('core.admin.loading.title');
|
||||
return app.translator.transText('core.admin.loading.title');
|
||||
}
|
||||
|
||||
content() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user