impaktapps-ui-builder 0.0.101-alpha.343 → 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,8 +10288,8 @@ 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 >= 2) {
10292
- if (pathParts[2] !== programName + "") {
10291
+ if (pathParts.length > 2) {
10292
+ if (decodeURIComponent(pathParts[2]) !== programName + "") {
10293
10293
  pathParts[2] = programName;
10294
10294
  const newPath = pathParts.slice(0, 3).join("/");
10295
10295
  funcParams.store.navigate(newPath);