@xh/hoist 73.0.0-SNAPSHOT.1738339904337 → 73.0.0-SNAPSHOT.1738687222195

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.
@@ -7,7 +7,7 @@
7
7
 
8
8
  import {PlainObject, Some} from '@xh/hoist/core';
9
9
  import {BucketSpec} from '@xh/hoist/data/cube/BucketSpec';
10
- import {isEmpty, reduce} from 'lodash';
10
+ import {compact, isEmpty, reduce} from 'lodash';
11
11
  import {View} from '../View';
12
12
  import {RowUpdate} from './RowUpdate';
13
13
 
@@ -97,7 +97,8 @@ export abstract class BaseRow {
97
97
  }
98
98
 
99
99
  // Recurse
100
- return children.flatMap(it => it.getVisibleDatas());
100
+ const ret = compact(children.flatMap(it => it.getVisibleDatas()));
101
+ return !isEmpty(ret) ? ret : null;
101
102
  }
102
103
 
103
104
  private isRedundantChild(parent: any, child: any) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "73.0.0-SNAPSHOT.1738339904337",
3
+ "version": "73.0.0-SNAPSHOT.1738687222195",
4
4
  "description": "Hoist add-on for building and deploying React Applications.",
5
5
  "repository": "github:xh/hoist-react",
6
6
  "homepage": "https://xh.io",