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