mirror of
https://github.com/flarum/framework.git
synced 2024-11-22 07:21:49 +08:00
chore: fix typings
This commit is contained in:
parent
fc8b58945d
commit
139adb0e65
|
@ -262,6 +262,7 @@ export default class ControlSectionState {
|
|||
name: 'flarum/core',
|
||||
version: app.data.settings.version,
|
||||
icon: {
|
||||
name: '',
|
||||
// @ts-ignore
|
||||
backgroundImage: `url(${app.data.resources[0]['attributes']['baseUrl']}/assets/extensions/flarum-extension-manager/flarum.svg`,
|
||||
},
|
||||
|
@ -270,6 +271,7 @@ export default class ControlSectionState {
|
|||
title: extractText(app.translator.trans('flarum-extension-manager.admin.updater.flarum')),
|
||||
},
|
||||
},
|
||||
links: {},
|
||||
},
|
||||
};
|
||||
}
|
||||
|
|
|
@ -351,7 +351,7 @@ export default abstract class PaginatedListState<T extends Model, P extends Pagi
|
|||
);
|
||||
}
|
||||
|
||||
changeFilter(key: string, value: string) {
|
||||
changeFilter(key: string, value: any) {
|
||||
this.refreshParams(
|
||||
{
|
||||
...this.params,
|
||||
|
|
Loading…
Reference in New Issue
Block a user