@vendure/admin-ui 3.1.6 → 3.1.7

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.
@@ -7838,7 +7838,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.4", ngImpor
7838
7838
  }], ctorParameters: () => [{ type: AlertsService }] });
7839
7839
 
7840
7840
  // Auto-generated by the set-version.js script.
7841
- const ADMIN_UI_VERSION = '3.1.6';
7841
+ const ADMIN_UI_VERSION = '3.1.7';
7842
7842
 
7843
7843
  /* eslint-disable @angular-eslint/directive-selector */
7844
7844
  class FormFieldControlDirective {
@@ -18378,9 +18378,9 @@ class DataTable2Component {
18378
18378
  this.dataTableConfigService.setConfig(this.id, dataTableConfig);
18379
18379
  }
18380
18380
  trackByFn(index, item) {
18381
- return this.trackByPath.split('.').reduce((accu, val) => {
18381
+ return ((this.trackByPath ?? 'id').split('.').reduce((accu, val) => {
18382
18382
  return accu && accu[val];
18383
- }, item) ?? index;
18383
+ }, item) ?? index);
18384
18384
  }
18385
18385
  onToggleAllClick() {
18386
18386
  this.selectionManager?.toggleSelectAll();