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.

Keep the label from old instance (#1215)

Oleg Isonen276b19a30d18
diff --git a/apps/builder/app/shared/nano-states/nano-states.ts b/apps/builder/app/shared/nano-states/nano-states.ts
index e2c2ca1b48..9e22187c4f 100644
--- a/apps/builder/app/shared/nano-states/nano-states.ts
+++ b/apps/builder/app/shared/nano-states/nano-states.ts
@@ -75,6 +75,7 @@ export const patchInstancesMutable = (
type: "instance",
id: oldInstance.id,
component: oldInstance.component,
+ label: oldInstance.label,
children: oldInstance.children.map((child) => {
if (child.type === "text") {
return child;