impaktapps-ui-builder 0.0.101-alpha.338 → 0.0.101-alpha.339

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
  if (pathParts.length >= 2) {
10291
- if (pathParts[1] !== programId + "") {
10292
- pathParts[1] = programId;
10291
+ if (pathParts[2] !== programId + "") {
10292
+ pathParts[2] = programId;
10293
10293
  const newPath = pathParts.slice(0, 3).join("/");
10294
10294
  funcParams.store.navigate(newPath);
10295
10295
  }