@one-paragon/angular-utilities 2.4.0 → 2.4.1
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.
|
@@ -4508,7 +4508,7 @@ class GenericTableComponent {
|
|
|
4508
4508
|
this.$trackByFunction = computed(() => {
|
|
4509
4509
|
const trackBy = this.$trackBy();
|
|
4510
4510
|
if (!trackBy)
|
|
4511
|
-
return (index, item) => item[initIndexSymbol];
|
|
4511
|
+
return (index, item) => isGroupHeader(item) ? `${item.level}-${item[initIndexSymbol]}` : item[initIndexSymbol];
|
|
4512
4512
|
return ((index, item) => isGroupHeader(item) ? `${item.level}-${item[initIndexSymbol]}` : item[trackBy]);
|
|
4513
4513
|
});
|
|
4514
4514
|
this.$hasFooterMeta = computed(() => this.state.$metaDataArray().some(md => !!md.additional?.footer));
|