impaktapps-ui-builder 1.0.66-alpha.3 → 1.0.66-alpha.4

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.
@@ -8856,9 +8856,11 @@ var pageMaster = (funcParams) => {
8856
8856
  const { store: store2, dynamicData: dynamicData2, submitHandler, service: service2 } = funcParams;
8857
8857
  return {
8858
8858
  setPage: async function() {
8859
+ var _a;
8859
8860
  const uiSchema = await this.getUiSchema();
8861
+ const id = (_a = store2.searchParams) == null ? void 0 : _a.get("id");
8860
8862
  const event2 = new CustomEvent("pageNameChanged", {
8861
- detail: { pageName: uiSchema.heading, hasBackIcon: true }
8863
+ detail: { pageName: id ? uiSchema.heading + "Add" : uiSchema.heading + "Edit", hasBackIcon: true }
8862
8864
  });
8863
8865
  window.dispatchEvent(event2);
8864
8866
  const formdata = await this.getFormdata();