LoadingModal typing fix

This commit is contained in:
Alexander Skvortsov 2020-04-29 17:42:55 -04:00 committed by David Sevilla Martín
parent 968ece2c61
commit bfc6ed2e99

View File

@ -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() {