@one-paragon/angular-utilities 2.2.12 → 2.2.13
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.
|
@@ -2149,7 +2149,7 @@ class TableStore extends ComponentStore {
|
|
|
2149
2149
|
this.$footerCollapsed = this.selectSignal(state => state.persistedTableSettings.collapseFooter);
|
|
2150
2150
|
this.$headerCollapsed = this.selectSignal(state => state.persistedTableSettings.collapseHeader);
|
|
2151
2151
|
this.$groupBy = this.selectSignal(state => state.groupBy);
|
|
2152
|
-
this.$groupByKeys = this.selectSignal(this.$groupBy, gb => gb.map(gbk => gbk.key), {
|
|
2152
|
+
this.$groupByKeys = this.selectSignal(this.$groupBy, this.$metaDataArray, (gb, mds) => gb.map(gbk => gbk.key).filter(bg => mds.some(md => md.key === bg)), {
|
|
2153
2153
|
equal: (prev, curr) => prev.length === curr.length && curr.every((k, i) => prev[i] === k)
|
|
2154
2154
|
});
|
|
2155
2155
|
this.groupByKeys$ = this.select(state => state.groupBy.map(gbk => gbk.key))
|