mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 04:33:47 +08:00
Fixed typing of app data in status widget
This commit is contained in:
parent
28f2341430
commit
532e866760
|
@ -1,10 +1,15 @@
|
|||
import HeaderPrimary from './components/HeaderPrimary';
|
||||
import HeaderSecondary from './components/HeaderSecondary';
|
||||
import routes from './routes';
|
||||
import Application from '../common/Application';
|
||||
import Application, {ApplicationData} from '../common/Application';
|
||||
import Navigation from '../common/components/Navigation';
|
||||
import AdminNav from './components/AdminNav';
|
||||
|
||||
export type AdminData = ApplicationData & {
|
||||
phpVersion: string;
|
||||
mysqlVersion: string;
|
||||
};
|
||||
|
||||
export default class Admin extends Application {
|
||||
extensionSettings = {};
|
||||
|
||||
|
@ -17,6 +22,8 @@ export default class Admin extends Application {
|
|||
},
|
||||
};
|
||||
|
||||
data!: AdminData;
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
import app from '../app';
|
||||
|
||||
import DashboardWidget from './DashboardWidget';
|
||||
import listItems from '../../common/helpers/listItems';
|
||||
import ItemList from '../../common/utils/ItemList';
|
||||
|
|
Loading…
Reference in New Issue
Block a user