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

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.101-alpha.339",
3
+ "version": "0.0.101-alpha.340",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -106,16 +106,16 @@ export default (funcParams: funcParamsProps) => {
106
106
  const pathParts = funcParams.store.location.pathname.split("/");
107
107
  const programId = JSON.parse(window.sessionStorage.getItem("ProgramID") || "{}")?.value || "programID";
108
108
  // if (config?.programIdRequired && programId) {
109
- if (pathParts.length >= 2) {
109
+ // if (pathParts.length >= 2) {
110
110
  // funcParams.store.navigate(
111
111
  // `${programId}/${funcParams.store.location.pathname}`
112
112
  // );
113
- if(pathParts[2] !== programId+""){
114
- pathParts[2] = programId;
115
- const newPath = pathParts.slice(0, 3).join("/");
116
- funcParams.store.navigate(newPath);
117
- }
118
- }
113
+ // if(pathParts[2] !== programId+""){
114
+ // pathParts[2] = programId;
115
+ // const newPath = pathParts.slice(0, 3).join("/");
116
+ // funcParams.store.navigate(newPath);
117
+ // }
118
+ // }
119
119
  // }
120
120
  const uiSchema = pageData?.uiSchema;
121
121