@onehat/ui 0.3.76 → 0.3.77

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.76",
3
+ "version": "0.3.77",
4
4
  "description": "Base UI for OneHat apps",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -640,6 +640,9 @@ function GridComponent(props) {
640
640
  setDragRowSlot(null);
641
641
  },
642
642
  adjustPageSizeToHeight = (e) => {
643
+ if (CURRENT_MODE === UI_MODE_REACT_NATIVE) {
644
+ return;
645
+ }
643
646
  let doLoad = false;
644
647
  if (!isRenderedRef.current) {
645
648
  isRenderedRef.current = true;
@@ -6,7 +6,7 @@ export default async function setSecure(key, value) {
6
6
  let isOneBuild = false,
7
7
  isJson = false,
8
8
  model = null;
9
- if (typeof value !== 'string') {
9
+ if (value && typeof value !== 'string') {
10
10
  if (value.getDataForNewEntity) {
11
11
  model = value.repository.name;
12
12
  value = value.getDataForNewEntity();