Skip to content

Commit

Permalink
chore: fix typings
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 committed Oct 17, 2024
1 parent fc8b589 commit 139adb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
},
Expand All @@ -270,6 +271,7 @@ export default class ControlSectionState {
title: extractText(app.translator.trans('flarum-extension-manager.admin.updater.flarum')),
},
},
links: {},
},
};
}
Expand Down
2 changes: 1 addition & 1 deletion framework/core/js/src/common/states/PaginatedListState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 139adb0

Please sign in to comment.