@sumaris-net/ngx-components 2.4.4 → 2.4.5-rc1

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.
@@ -18518,7 +18518,8 @@ class PlatformService extends StartableService {
18518
18518
  }
18519
18519
  }
18520
18520
  else {
18521
- // Hotfix from ludovic.pecquot@e-is.pro (14/11/2021) - See 1.20.42
18521
+ // Applying default, when settings has no locale property (hotfix - ludovic.pecquot@e-is.pro - 14/11/2021 - since v1.20.42)
18522
+ console.warn('[platform] No locale found in settings: applying defaultLocale: ', this.environment.defaultLocale);
18522
18523
  this.translate.use(this.environment.defaultLocale);
18523
18524
  }
18524
18525
  }
@@ -29242,7 +29243,7 @@ class EntitiesAsyncTableDataSource extends AsyncTableDataSource {
29242
29243
  return this.getRows().filter(row => row.editing);
29243
29244
  }
29244
29245
  getSingleEditingRow() {
29245
- const rows = this.getRows();
29246
+ const rows = this.getEditingRows();
29246
29247
  return rows.length === 1 ? rows[0] : undefined;
29247
29248
  }
29248
29249
  hasSomeEditingRow() {