@trackunit/filters-graphql-hook 1.17.32 → 1.17.35

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/index.cjs.js CHANGED
@@ -573,7 +573,7 @@ const useAssetQueryFilters = (props) => {
573
573
  assetQueryVariables: {
574
574
  filters,
575
575
  sort,
576
- first: props.first || 50,
576
+ first: Boolean(props.first) ? props.first : 50,
577
577
  systemOfMeasurement: systemOfMeasurement ?? "SI",
578
578
  definitionIds: [],
579
579
  last: undefined,
package/index.esm.js CHANGED
@@ -571,7 +571,7 @@ const useAssetQueryFilters = (props) => {
571
571
  assetQueryVariables: {
572
572
  filters,
573
573
  sort,
574
- first: props.first || 50,
574
+ first: Boolean(props.first) ? props.first : 50,
575
575
  systemOfMeasurement: systemOfMeasurement ?? "SI",
576
576
  definitionIds: [],
577
577
  last: undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/filters-graphql-hook",
3
- "version": "1.17.32",
3
+ "version": "1.17.35",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -13,14 +13,14 @@
13
13
  "graphql": "^16.10.0",
14
14
  "@apollo/client": "3.13.8",
15
15
  "zod": "^3.23.8",
16
- "@trackunit/iris-app-build-utilities": "1.12.48",
17
- "@trackunit/filters-filter-bar": "1.14.32",
18
- "@trackunit/shared-utils": "1.13.43",
19
- "@trackunit/iris-app-api": "1.14.43",
20
- "@trackunit/react-core-contexts-test": "1.12.25",
21
- "@trackunit/i18n-library-translation": "1.12.28",
22
- "@trackunit/iris-app-runtime-core-api": "1.12.24",
23
- "@trackunit/react-core-hooks": "1.12.27"
16
+ "@trackunit/iris-app-build-utilities": "1.12.49",
17
+ "@trackunit/filters-filter-bar": "1.14.34",
18
+ "@trackunit/shared-utils": "1.13.44",
19
+ "@trackunit/iris-app-api": "1.14.44",
20
+ "@trackunit/react-core-contexts-test": "1.12.26",
21
+ "@trackunit/i18n-library-translation": "1.12.29",
22
+ "@trackunit/iris-app-runtime-core-api": "1.12.25",
23
+ "@trackunit/react-core-hooks": "1.12.28"
24
24
  },
25
25
  "module": "./index.esm.js",
26
26
  "main": "./index.cjs.js",