impaktapps-ui-builder 0.0.101-alpha.345 → 0.0.101-alpha.347
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.
|
@@ -10287,13 +10287,7 @@ var service = (funcParams) => {
|
|
|
10287
10287
|
const config2 = pageData == null ? void 0 : pageData.config;
|
|
10288
10288
|
const pathParts = funcParams.store.location.pathname.split("/");
|
|
10289
10289
|
const programId = ((_a = JSON.parse(window.sessionStorage.getItem("ProgramID") || "{}")) == null ? void 0 : _a.value) || "programID";
|
|
10290
|
-
|
|
10291
|
-
if (pathParts.length > 2) {
|
|
10292
|
-
if (decodeURIComponent(pathParts[2]) !== programName + "") {
|
|
10293
|
-
pathParts[2] = programName;
|
|
10294
|
-
const newPath = pathParts.slice(0, 3).join("/");
|
|
10295
|
-
funcParams.store.navigate(newPath);
|
|
10296
|
-
}
|
|
10290
|
+
if ((_b = pathParts == null ? void 0 : pathParts[2]) == null ? void 0 : _b.startsWith("program_")) {
|
|
10297
10291
|
if (programId !== "programID") {
|
|
10298
10292
|
funcParams.store.setFormdata((pre) => ({ ...pre, programId }));
|
|
10299
10293
|
}
|