diff --git a/extensions/package-manager/js/src/admin/states/ControlSectionState.ts b/extensions/package-manager/js/src/admin/states/ControlSectionState.ts index d0f0c50fb..cb6e7f749 100644 --- a/extensions/package-manager/js/src/admin/states/ControlSectionState.ts +++ b/extensions/package-manager/js/src/admin/states/ControlSectionState.ts @@ -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: {}, }, }; } diff --git a/framework/core/js/src/common/states/PaginatedListState.ts b/framework/core/js/src/common/states/PaginatedListState.ts index 87ce55b09..d3de7b9ff 100644 --- a/framework/core/js/src/common/states/PaginatedListState.ts +++ b/framework/core/js/src/common/states/PaginatedListState.ts @@ -351,7 +351,7 @@ export default abstract class PaginatedListState