mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 04:55:06 +09:00
clone breakpoints when cloning the project
This commit is contained in:
1 parent
2413783058
commit
56d30269a6
1 file changed
+4
@@ -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;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user