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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.101-alpha.338",
3
+ "version": "0.0.101-alpha.339",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -110,8 +110,8 @@ export default (funcParams: funcParamsProps) => {
110
110
  // funcParams.store.navigate(
111
111
  // `${programId}/${funcParams.store.location.pathname}`
112
112
  // );
113
- if(pathParts[1] !== programId+""){
114
- pathParts[1] = programId;
113
+ if(pathParts[2] !== programId+""){
114
+ pathParts[2] = programId;
115
115
  const newPath = pathParts.slice(0, 3).join("/");
116
116
  funcParams.store.navigate(newPath);
117
117
  }