@stoker-platform/web-app 0.5.187 → 0.5.188

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,10 +1,19 @@
1
1
  # @stoker-platform/web-app
2
2
 
3
+ ## 0.5.188
4
+
5
+ ### Patch Changes
6
+
7
+ - feat: add isExport parameter to form condition method
8
+ - @stoker-platform/node-client@0.5.74
9
+ - @stoker-platform/utils@0.5.65
10
+ - @stoker-platform/web-client@0.5.76
11
+
3
12
  ## 0.5.187
4
13
 
5
14
  ### Patch Changes
6
15
 
7
- - feat: revert default Firestore edition to standard
16
+ - feat: change Dashboard metric spinner colour
8
17
 
9
18
  ## 0.5.186
10
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/web-app",
3
- "version": "0.5.187",
3
+ "version": "0.5.188",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "scripts": {
@@ -51,9 +51,9 @@
51
51
  "@radix-ui/react-tooltip": "^1.2.8",
52
52
  "@react-google-maps/api": "^2.20.8",
53
53
  "@sentry/react": "^10.56.0",
54
- "@stoker-platform/node-client": "0.5.73",
55
- "@stoker-platform/utils": "0.5.64",
56
- "@stoker-platform/web-client": "0.5.75",
54
+ "@stoker-platform/node-client": "0.5.74",
55
+ "@stoker-platform/utils": "0.5.65",
56
+ "@stoker-platform/web-client": "0.5.76",
57
57
  "@tanstack/react-table": "^8.21.3",
58
58
  "@types/react": "18.3.13",
59
59
  "@types/react-dom": "18.3.1",
@@ -59,7 +59,7 @@ export const prepareCSVData = (collection: CollectionSchema, data: any[]) => {
59
59
  const noExport = tryFunction(fieldCustomization.admin?.noExport) || false
60
60
  if (noExport) continue
61
61
  if (fieldCustomization.admin?.condition?.form) {
62
- const condition = tryFunction(fieldCustomization.admin?.condition?.form, ["update", doc])
62
+ const condition = tryFunction(fieldCustomization.admin?.condition?.form, ["update", doc, true])
63
63
  if (condition === false) {
64
64
  docData[field.name] = ""
65
65
  continue