From 33aa1e3ef59a45cff0bd75f14d2ec45c11904204 Mon Sep 17 00:00:00 2001 From: IanM Date: Sun, 29 Sep 2024 08:28:06 +0100 Subject: [PATCH] chore: point fontawesome links at v5 free --- extensions/tags/js/src/admin/components/EditTagModal.tsx | 2 +- framework/core/js/src/admin/components/EditGroupModal.tsx | 2 +- framework/core/js/src/common/Application.tsx | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/extensions/tags/js/src/admin/components/EditTagModal.tsx b/extensions/tags/js/src/admin/components/EditTagModal.tsx index 489c8e03cc..f284200ea2 100644 --- a/extensions/tags/js/src/admin/components/EditTagModal.tsx +++ b/extensions/tags/js/src/admin/components/EditTagModal.tsx @@ -117,7 +117,7 @@ export default class EditTagModal extends Modal {
- {app.translator.trans('flarum-tags.admin.edit_tag.icon_text', { a: })} + {app.translator.trans('flarum-tags.admin.edit_tag.icon_text', { a: })}
, diff --git a/framework/core/js/src/admin/components/EditGroupModal.tsx b/framework/core/js/src/admin/components/EditGroupModal.tsx index a8597737e5..de8ac60e16 100644 --- a/framework/core/js/src/admin/components/EditGroupModal.tsx +++ b/framework/core/js/src/admin/components/EditGroupModal.tsx @@ -88,7 +88,7 @@ export default class EditGroupModal
- {app.translator.trans('core.admin.edit_group.icon_text', { a: })} + {app.translator.trans('core.admin.edit_group.icon_text', { a: })}
, diff --git a/framework/core/js/src/common/Application.tsx b/framework/core/js/src/common/Application.tsx index e5033a74dd..388f782413 100644 --- a/framework/core/js/src/common/Application.tsx +++ b/framework/core/js/src/common/Application.tsx @@ -237,6 +237,10 @@ export default class Application { data!: ApplicationData; + refs: Record = { + fontawesome: 'https://fontawesome.com/v5/search?o=r&m=free', + }; + private _title: string = ''; private _titleCount: number = 0;