@stoker-platform/web-app 0.3.1 → 0.3.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @stoker-platform/web-app
2
2
 
3
+ ## 0.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: add tenant to base path
8
+
9
+ ## 0.3.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+ - @stoker-platform/node-client@0.3.3
15
+
3
16
  ## 0.3.1
4
17
 
5
18
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/web-app",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "scripts": {
@@ -51,7 +51,7 @@
51
51
  "@radix-ui/react-tooltip": "^1.2.8",
52
52
  "@react-google-maps/api": "^2.20.7",
53
53
  "@sentry/react": "^10.29.0",
54
- "@stoker-platform/node-client": "0.3.2",
54
+ "@stoker-platform/node-client": "0.3.3",
55
55
  "@stoker-platform/utils": "0.3.1",
56
56
  "@stoker-platform/web-client": "0.3.1",
57
57
  "@tanstack/react-table": "^8.21.3",
package/src/Form.tsx CHANGED
@@ -2269,7 +2269,7 @@ function RecordForm({
2269
2269
  const computeBasePath = useCallback(
2270
2270
  (targetId: string) => {
2271
2271
  const baseArray = (collectionPath || record?.Collection_Path || path) as string[]
2272
- return `${baseArray.join("/")}/${targetId}`
2272
+ return `${tenantId}/${baseArray.join("/")}/${targetId}`
2273
2273
  },
2274
2274
  [collectionPath, record, path],
2275
2275
  )