clone breakpoints when cloning the project

This commit is contained in:
Oleg Isonen committed 2022-05-10 19:34:37 +02:00
1 parent 2413783058
commit 56d30269a6
1 file changed
+4
+4
View File
@@ -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;
};