Shun Miyazawa 4 месяцев назад
Родитель
Сommit
0075928c2c
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      apps/app/src/pages/admin/customize.page.tsx

+ 3 - 2
apps/app/src/pages/admin/customize.page.tsx

@@ -22,7 +22,7 @@ const CustomizeSettingContents = dynamic(
 
 type PageProps = {
   isCustomizedLogoUploaded: boolean;
-  customTitleTemplate: string;
+  customTitleTemplate?: string;
 };
 
 type Props = AdminCommonProps & PageProps;
@@ -66,7 +66,8 @@ export const getServerSideProps: GetServerSideProps<Props> = async (
     props: {
       isCustomizedLogoUploaded:
         await crowi.attachmentService.isBrandLogoExist(),
-      customTitleTemplate: crowi.configManager.getConfig('customize:title') ?? '',
+      customTitleTemplate:
+        crowi.configManager.getConfig('customize:title') ?? '',
     },
   } satisfies { props: PageProps };