Skip email/calendar tab creation for custom object record page layouts (#19544)
## Context Emails and calendars can only be associated with specific objects (companies, people...) and we were adding those tabs for all custom objects. I'm removing these from the default config
This commit is contained in:
-2
@@ -38,8 +38,6 @@ export const computeFlatDefaultRecordPageLayoutToCreate = ({
|
||||
{ key: 'tasks' as const, widgetKey: 'tasks' as const },
|
||||
{ key: 'notes' as const, widgetKey: 'notes' as const },
|
||||
{ key: 'files' as const, widgetKey: 'files' as const },
|
||||
{ key: 'emails' as const, widgetKey: 'emails' as const },
|
||||
{ key: 'calendar' as const, widgetKey: 'calendar' as const },
|
||||
];
|
||||
|
||||
const pageLayoutTabs: FlatPageLayoutTab[] = [];
|
||||
|
||||
Reference in New Issue
Block a user