From 139adb0e65e3b3a455f875eb50b21592f023b888 Mon Sep 17 00:00:00 2001 From: Sami Mazouz Date: Thu, 17 Oct 2024 19:28:07 +0100 Subject: [PATCH] chore: fix typings --- .../package-manager/js/src/admin/states/ControlSectionState.ts | 2 ++ framework/core/js/src/common/states/PaginatedListState.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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