mirror of
https://github.com/flarum/framework.git
synced 2024-11-22 14:04:03 +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',
|
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: {},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user