diff --git a/frontend/src/lib/components/apps/editor/appUtils.ts b/frontend/src/lib/components/apps/editor/appUtils.ts index 88280e3ed3..5e9cc44eff 100644 --- a/frontend/src/lib/components/apps/editor/appUtils.ts +++ b/frontend/src/lib/components/apps/editor/appUtils.ts @@ -71,7 +71,7 @@ export function findGridItem(app: App, id: string): GridItem | undefined { export function getNextGridItemId(app: App): string { const subgridsKeys = allItems(app.grid, app.subgrids).map((x) => x.id) const withoutDash = subgridsKeys.map((element) => element.split('-')[0]) - const id = getNextId([...new Set(withoutDash)]) + const id = getNextId([...new Set(withoutDash), 'do']) return id }