Ver código fonte

rm isDefaultBrandLogoUsed

Shun Miyazawa 4 meses atrás
pai
commit
ae3daf5891
1 arquivos alterados com 0 adições e 4 exclusões
  1. 0 4
      apps/app/src/pages/admin/customize.page.tsx

+ 0 - 4
apps/app/src/pages/admin/customize.page.tsx

@@ -21,7 +21,6 @@ const CustomizeSettingContents = dynamic(
 );
 );
 
 
 type PageProps = {
 type PageProps = {
-  isDefaultBrandLogoUsed: boolean;
   isCustomizedLogoUploaded: boolean;
   isCustomizedLogoUploaded: boolean;
   customTitleTemplate?: string;
   customTitleTemplate?: string;
 };
 };
@@ -34,7 +33,6 @@ const AdminCustomizeSettingsPage: NextPageWithLayout<Props> = (
 ) => {
 ) => {
   useHydrateAtoms(
   useHydrateAtoms(
     [
     [
-      [atoms.isDefaultLogoAtom, props.isDefaultBrandLogoUsed],
       [atoms.customTitleTemplateAtom, props.customTitleTemplate],
       [atoms.customTitleTemplateAtom, props.customTitleTemplate],
       [isCustomizedLogoUploadedAtom, props.isCustomizedLogoUploaded],
       [isCustomizedLogoUploadedAtom, props.isCustomizedLogoUploaded],
     ],
     ],
@@ -66,8 +64,6 @@ export const getServerSideProps: GetServerSideProps<Props> = async (
 
 
   const customizePropsFragment = {
   const customizePropsFragment = {
     props: {
     props: {
-      isDefaultBrandLogoUsed:
-        await crowi.attachmentService.isDefaultBrandLogoUsed(),
       isCustomizedLogoUploaded:
       isCustomizedLogoUploaded:
         await crowi.attachmentService.isBrandLogoExist(),
         await crowi.attachmentService.isBrandLogoExist(),
       customTitleTemplate: crowi.configManager.getConfig('customize:title'),
       customTitleTemplate: crowi.configManager.getConfig('customize:title'),