@onehat/ui 0.3.39 → 0.3.40

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": "@onehat/ui",
3
- "version": "0.3.39",
3
+ "version": "0.3.40",
4
4
  "description": "Base UI for OneHat apps",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -631,8 +631,8 @@ function GridComponent(props) {
631
631
  }
632
632
  }
633
633
 
634
- let adjustPageSizeToHeight = true;
635
- if (!autoAdjustPageSizeToHeight || !Repository || !UiGlobals.autoAdjustPageSizeToHeight) {
634
+ let adjustPageSizeToHeight = autoAdjustPageSizeToHeight;
635
+ if (!Repository || (!_.isNil(UiGlobals.autoAdjustPageSizeToHeight) && !UiGlobals.autoAdjustPageSizeToHeight)) {
636
636
  adjustPageSizeToHeight = false;
637
637
  }
638
638
  if (adjustPageSizeToHeight) {