@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.
- package/doc/changelog.md +3 -0
- package/esm2020/src/app/core/services/platform.service.mjs +3 -2
- package/esm2020/src/app/core/table/entities-async-table-datasource.class.mjs +2 -2
- package/fesm2015/sumaris-net.ngx-components.mjs +3 -2
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +3 -2
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -18518,7 +18518,8 @@ class PlatformService extends StartableService {
|
|
|
18518
18518
|
}
|
|
18519
18519
|
}
|
|
18520
18520
|
else {
|
|
18521
|
-
//
|
|
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.
|
|
29246
|
+
const rows = this.getEditingRows();
|
|
29246
29247
|
return rows.length === 1 ? rows[0] : undefined;
|
|
29247
29248
|
}
|
|
29248
29249
|
hasSomeEditingRow() {
|