Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

clone breakpoints when cloning the project

Oleg Isonen56d30269a623
diff --git a/app/shared/db/project.server.ts b/app/shared/db/project.server.ts
index fa6423c2aa..84b2c47fac 100644
--- a/app/shared/db/project.server.ts
+++ b/app/shared/db/project.server.ts
@@ -92,6 +92,10 @@ export const clone = async (clonableDomain: string): Promise<Project> => {
previousTreeId: clonableProject.prodTreeId,
nextTreeId: tree.id,
}),
+ db.breakpoints.clone({
+ previousTreeId: clonableProject.prodTreeId,
+ nextTreeId: tree.id,
+ }),
]);
return project;
};