diff --git a/js/src/admin/components/AdminPage.tsx b/js/src/admin/components/AdminPage.tsx index 981a246cc..8a3b4bc1f 100644 --- a/js/src/admin/components/AdminPage.tsx +++ b/js/src/admin/components/AdminPage.tsx @@ -13,8 +13,8 @@ import generateElementId from '../utils/generateElementId'; import ColorPreviewInput from '../../common/components/ColorPreviewInput'; export interface AdminHeaderOptions { - title: string; - description: string; + title: Mithril.Children; + description: Mithril.Children; icon: string; /** * Will be used as the class for the AdminPage. diff --git a/js/src/admin/components/UserListPage.tsx b/js/src/admin/components/UserListPage.tsx index 675104aea..3502a24f9 100644 --- a/js/src/admin/components/UserListPage.tsx +++ b/js/src/admin/components/UserListPage.tsx @@ -21,7 +21,7 @@ type ColumnData = { /** * Column title */ - name: String; + name: Mithril.Children; /** * Component(s) to show for this column. */