impaktapps-ui-builder 0.0.101-alpha.231 → 0.0.101-alpha.233

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.
@@ -10302,12 +10302,15 @@ var service = (funcParams) => {
10302
10302
  const programId = ((_a = JSON.parse(window.sessionStorage.getItem("ProgramID") || "{}")) == null ? void 0 : _a.value) || "programID";
10303
10303
  const queryParams = new URLSearchParams(location.search);
10304
10304
  console.log("queryParams ", queryParams);
10305
- if ((queryParams == null ? void 0 : queryParams.get("ProgramID")) !== programId) {
10305
+ if ((queryParams == null ? void 0 : queryParams.get("ProgramID")) !== programId + "") {
10306
10306
  funcParams.store.setSearchParams({ ...queryParams, ProgramID: programId });
10307
10307
  funcParams.store.navigate(
10308
10308
  0
10309
10309
  );
10310
10310
  }
10311
+ if (programId !== "programID") {
10312
+ funcParams.store.setFormdata((pre) => ({ ...pre, programId }));
10313
+ }
10311
10314
  const uiSchema = pageData == null ? void 0 : pageData.uiSchema;
10312
10315
  const event2 = new CustomEvent("pageNameChanged", {
10313
10316
  detail: { pageName: config2.label }