@myissue/vue-website-page-builder 3.2.60 → 3.2.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myissue/vue-website-page-builder",
3
- "version": "v3.2.60",
3
+ "version": "v3.2.62",
4
4
  "description": "Vue 3 page builder component with drag & drop functionality.",
5
5
  "type": "module",
6
6
  "main": "./dist/vue-website-page-builder.umd.cjs",
@@ -194,8 +194,6 @@ watch(
194
194
  )
195
195
 
196
196
  onMounted(async () => {
197
- pageBuilderStateStore.setComponents(null)
198
-
199
197
  const config = getConfigPageBuilder.value
200
198
  handleConfig(config)
201
199
 
@@ -1492,6 +1492,8 @@ class PageBuilderClass {
1492
1492
  const storedData = this.areComponentsStoredInLocalStorage()
1493
1493
 
1494
1494
  if (this.pageBuilderStateStore.getConfigPageBuilder?.updateOrCreate?.formType === 'create') {
1495
+ this.pageBuilderStateStore.setComponents([])
1496
+
1495
1497
  if (storedData) {
1496
1498
  this.setComponentsFromData(storedData)
1497
1499
  }