impaktapps-ui-builder 0.0.105-4.alpha-3 → 0.0.105-4.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.
|
@@ -10224,9 +10224,9 @@ var service = (funcParams) => {
|
|
|
10224
10224
|
}
|
|
10225
10225
|
const config2 = pageData == null ? void 0 : pageData.config;
|
|
10226
10226
|
const pathParts = funcParams.store.location.pathname.split("/");
|
|
10227
|
-
const programId = (
|
|
10227
|
+
const programId = (_a = JSON.parse(window.sessionStorage.getItem("ProgramID") || "{}")) == null ? void 0 : _a.value;
|
|
10228
10228
|
if ((pathParts == null ? void 0 : pathParts[1]) === "page" && (pathParts == null ? void 0 : pathParts[2]) === "program_name") {
|
|
10229
|
-
if (programId
|
|
10229
|
+
if (!programId) {
|
|
10230
10230
|
funcParams.store.setFormdata((pre) => ({ ...pre, programId }));
|
|
10231
10231
|
}
|
|
10232
10232
|
}
|