chore: fix typings

This commit is contained in:
Sami Mazouz 2024-10-17 19:28:07 +01:00
parent fc8b58945d
commit 139adb0e65
No known key found for this signature in database
2 changed files with 3 additions and 1 deletions

View File

@ -262,6 +262,7 @@ export default class ControlSectionState {
name: 'flarum/core', name: 'flarum/core',
version: app.data.settings.version, version: app.data.settings.version,
icon: { icon: {
name: '',
// @ts-ignore // @ts-ignore
backgroundImage: `url(${app.data.resources[0]['attributes']['baseUrl']}/assets/extensions/flarum-extension-manager/flarum.svg`, 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')), title: extractText(app.translator.trans('flarum-extension-manager.admin.updater.flarum')),
}, },
}, },
links: {},
}, },
}; };
} }

View File

@ -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.refreshParams(
{ {
...this.params, ...this.params,