@onehat/ui 0.3.355 → 0.3.356

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.355",
3
+ "version": "0.3.356",
4
4
  "description": "Base UI for OneHat apps",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -694,6 +694,9 @@ export function ComboComponent(props) {
694
694
  'selectorSelected',
695
695
  'usePermissions',
696
696
  ]);
697
+ if (!Repository) {
698
+ gridProps.data = filteredData;
699
+ }
697
700
  const WhichGrid = isEditor ? WindowedGridEditor : Grid;
698
701
  grid = <WhichGrid
699
702
  showHeaders={false}
@@ -711,7 +714,6 @@ export function ComboComponent(props) {
711
714
  }}
712
715
  autoAdjustPageSizeToHeight={false}
713
716
  {...gridProps}
714
- data={filteredData}
715
717
  reference="grid"
716
718
  parent={self}
717
719
  h={UiGlobals.mode === UI_MODE_WEB ? styles.FORM_COMBO_MENU_HEIGHT + 'px' : null}