Skip to content

The open alternative to Salesforce, designed for AI.

fix(cli): avoid deprecated widget positions in app init (#27660)

Weiko8332e5ff314b
diff --git a/packages/twenty-cli/app-template/src/page-layouts/main-page.page-layout.ts b/packages/twenty-cli/app-template/src/page-layouts/main-page.page-layout.ts
index 6154377a08f..683e1a4d0a8 100644
--- a/packages/twenty-cli/app-template/src/page-layouts/main-page.page-layout.ts
+++ b/packages/twenty-cli/app-template/src/page-layouts/main-page.page-layout.ts
@@ -28,12 +28,8 @@ export default definePageLayout({
universalIdentifier: MAIN_PAGE_WIDGET_UNIVERSAL_IDENTIFIER,
title: ' ',
type: 'FRONT_COMPONENT',
- position: {
- layoutMode: PageLayoutTabLayoutMode.VERTICAL_LIST,
- index: 0,
- heightBehavior:
- PageLayoutWidgetVerticalListHeightBehavior.TAB_VIEWPORT,
- },
+ heightBehavior:
+ PageLayoutWidgetVerticalListHeightBehavior.TAB_VIEWPORT,
configuration: {
configurationType: 'FRONT_COMPONENT',
frontComponentUniversalIdentifier: