Skip to content

Commit 38ced2e

Browse files
TakuyaKurimotoTakuya Kurimoto
authored andcommitted
update Notes & Tasks to display the first-letter icon (twentyhq#15729)
Closes twentyhq#15630 ## Description I've updated the Notes & Tasks to display the first-letter icon. I only applied this change to the SummaryCard component to avoid conflict with the content of twentyhq#6486. ## Test <img width="1155" height="178" alt="スクリーンショット 2025-11-09 19 02 41" src="https://github.com/user-attachments/assets/3b065f94-7bb8-4ba9-a0f0-3c32fb556e7e" /> <img width="1158" height="229" alt="スクリーンショット 2025-11-09 19 02 23" src="https://github.com/user-attachments/assets/884ff3b6-2c48-4557-8b45-64f94a8fd6a1" /> Co-authored-by: Takuya Kurimoto <[email protected]>
1 parent 80e12f6 commit 38ced2e

File tree

1 file changed

+0
-4
lines changed
  • packages/twenty-front/src/modules/object-record/record-show/components

1 file changed

+0
-4
lines changed

packages/twenty-front/src/modules/object-record/record-show/components/SummaryCard.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { useGetStandardObjectIcon } from '@/object-metadata/hooks/useGetStandardObjectIcon';
21
import { useLabelIdentifierFieldMetadataItem } from '@/object-metadata/hooks/useLabelIdentifierFieldMetadataItem';
32
import { useObjectMetadataItem } from '@/object-metadata/hooks/useObjectMetadataItem';
43
import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular';
@@ -45,7 +44,6 @@ export const SummaryCard = ({
4544
objectRecordId,
4645
});
4746

48-
const { Icon, IconColor } = useGetStandardObjectIcon(objectNameSingular);
4947
const isMobile = useIsMobile() || isInRightDrawer;
5048

5149
const recordIdentifier = useRecoilValue(
@@ -74,8 +72,6 @@ export const SummaryCard = ({
7472
isMobile={isMobile}
7573
id={objectRecordId}
7674
logoOrAvatar={recordIdentifier?.avatarUrl ?? ''}
77-
icon={Icon}
78-
iconColor={IconColor}
7975
avatarPlaceholder={recordIdentifier?.name ?? ''}
8076
date={recordCreatedAt ?? ''}
8177
loading={

0 commit comments

Comments
 (0)