@myissue/vue-website-page-builder 3.3.62 → 3.3.63

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": "3.3.62",
3
+ "version": "3.3.63",
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",
@@ -341,7 +341,12 @@ export class PageBuilderService {
341
341
  //
342
342
  if (formType === 'update' || formType === 'create') {
343
343
  if (!this.pendingMountData) {
344
- // FOCUS ON: passedComponentsArray
344
+ //
345
+ //
346
+ if (!passedComponentsArray && !this.isPageBuilderMissingOnStart && localStorageData) {
347
+ await this.#completeMountProcess(localStorageData)
348
+ return
349
+ }
345
350
  if (passedComponentsArray && !localStorageData) {
346
351
  await this.#completeMountProcess(JSON.stringify(passedComponentsArray), true)
347
352
  return
@@ -87,7 +87,7 @@ const configPageBuilder = {
87
87
  } as const
88
88
 
89
89
  onMounted(async () => {
90
- const result = await pageBuilderService.startBuilder(configPageBuilder, componentsArray)
90
+ const result = await pageBuilderService.startBuilder(configPageBuilder)
91
91
  console.log('Page Builder Result:', result)
92
92
  //
93
93
  //