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.

Fix props not saved (#1860)

Ivan Starkovfb9cecb55674
diff --git a/apps/builder/app/builder/features/props-panel/props-panel.tsx b/apps/builder/app/builder/features/props-panel/props-panel.tsx
index e21f6d8bd9..9f25f39d52 100644
--- a/apps/builder/app/builder/features/props-panel/props-panel.tsx
+++ b/apps/builder/app/builder/features/props-panel/props-panel.tsx
@@ -271,7 +271,7 @@ export const PropsPanelContainer = ({
const dataSourceValues = new Map(dataSourceValuesStore.get());
dataSourceValues.set(dataSourceId, update.value);
dataSourceValuesStore.set(dataSourceValues);
- } else if (prop) {
+ } else {
store.createTransaction([propsStore], (props) => {
props.set(update.id, update);
});