impaktapps-ui-builder 1.0.307-test.1 → 1.0.307

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.
@@ -8962,7 +8962,7 @@ function refreshPage(type, store2, formdata) {
8962
8962
  };
8963
8963
  const elements = (_a = sectionLabels[type]) == null ? void 0 : _a.map((e) => sectionUiSchema[e]);
8964
8964
  if (!(formdata == null ? void 0 : formdata.eventCode)) {
8965
- store2.setFormdata((prev) => ({ ...prev, style: "{\n}" }));
8965
+ store2.setFormdata((prev) => ({ ...prev, style: {} }));
8966
8966
  }
8967
8967
  UiSchema.elements[0].config.main.tabLabels = sectionLabels[type] || ["Core", "Style", "Events", "Validation"];
8968
8968
  UiSchema.elements[0].elements = elements || [CoreSection, StyleSection, EventSection(store2.theme.myTheme), ValidationSection];