impaktapps-ui-builder 0.0.101-alpha.344 → 0.0.101-alpha.345
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.
|
@@ -10288,7 +10288,7 @@ var service = (funcParams) => {
|
|
|
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
10290
|
const programName = ((_b = JSON.parse(window.sessionStorage.getItem("ProgramID") || "{}")) == null ? void 0 : _b.label) || "";
|
|
10291
|
-
if (pathParts.length
|
|
10291
|
+
if (pathParts.length > 2) {
|
|
10292
10292
|
if (decodeURIComponent(pathParts[2]) !== programName + "") {
|
|
10293
10293
|
pathParts[2] = programName;
|
|
10294
10294
|
const newPath = pathParts.slice(0, 3).join("/");
|