diff --git a/packages/twenty-front/src/modules/command-menu/components/hooks/usePageLayoutHeaderInfo.ts b/packages/twenty-front/src/modules/command-menu/components/hooks/usePageLayoutHeaderInfo.ts index cbc15dc30b..54381e385d 100644 --- a/packages/twenty-front/src/modules/command-menu/components/hooks/usePageLayoutHeaderInfo.ts +++ b/packages/twenty-front/src/modules/command-menu/components/hooks/usePageLayoutHeaderInfo.ts @@ -8,6 +8,7 @@ import { isDefined } from 'twenty-shared/utils'; import { IconAppWindow, IconFrame, + IconPlus, type IconComponent, } from 'twenty-ui/display'; import { type PageLayoutWidget } from '~/generated/graphql'; @@ -145,6 +146,18 @@ export const usePageLayoutHeaderInfo = ({ }; } + case CommandMenuPages.PageLayoutWidgetTypeSelect: { + return { + headerIcon: IconPlus, + headerIconColor: iconColor, + headerType: '', + title: t`New widget`, + isReadonly: true, + tab: undefined, + widgetInEditMode: undefined, + }; + } + default: return null; }