@myissue/vue-website-page-builder 3.2.70 → 3.2.71
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
|
@@ -1140,16 +1140,24 @@ class PageBuilderClass {
|
|
|
1140
1140
|
typeof this.pageBuilderStateStore.getConfigPageBuilder.updateOrCreate.formType === 'string' &&
|
|
1141
1141
|
this.pageBuilderStateStore.getConfigPageBuilder.updateOrCreate.formType === 'update'
|
|
1142
1142
|
) {
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1143
|
+
if (
|
|
1144
|
+
typeof this.getLocalStorageItemName.value === 'string' &&
|
|
1145
|
+
this.getLocalStorageItemName.value
|
|
1146
|
+
) {
|
|
1147
|
+
const item = {
|
|
1148
|
+
components: componentsToSave,
|
|
1149
|
+
savedAt: new Date().toISOString(),
|
|
1150
|
+
}
|
|
1151
|
+
localStorage.setItem(this.getLocalStorageItemName.value, JSON.stringify(item))
|
|
1148
1152
|
|
|
1149
|
-
|
|
1153
|
+
return
|
|
1154
|
+
}
|
|
1150
1155
|
}
|
|
1151
1156
|
|
|
1152
|
-
if (
|
|
1157
|
+
if (
|
|
1158
|
+
typeof this.getLocalStorageItemName.value === 'string' &&
|
|
1159
|
+
this.getLocalStorageItemName.value
|
|
1160
|
+
) {
|
|
1153
1161
|
const item = {
|
|
1154
1162
|
components: componentsToSave,
|
|
1155
1163
|
savedAt: new Date().toISOString(),
|