@sumaris-net/ngx-components 2.6.37 → 2.6.38
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/esm2020/src/app/shared/pipes/maps.pipe.mjs +3 -3
- package/fesm2015/sumaris-net.ngx-components.mjs +2 -2
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +2 -2
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/manifest.json +1 -1
|
@@ -3453,7 +3453,7 @@ class MapGetPipe {
|
|
|
3453
3453
|
if (!val)
|
|
3454
3454
|
return null;
|
|
3455
3455
|
const key = (args && typeof args === 'object' ? args.key : args);
|
|
3456
|
-
if (
|
|
3456
|
+
if (key === null || key === undefined)
|
|
3457
3457
|
return null;
|
|
3458
3458
|
return val[key];
|
|
3459
3459
|
}
|
|
@@ -3464,7 +3464,7 @@ MapGetPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version:
|
|
|
3464
3464
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MapGetPipe, decorators: [{
|
|
3465
3465
|
type: Pipe,
|
|
3466
3466
|
args: [{
|
|
3467
|
-
name: 'mapGet'
|
|
3467
|
+
name: 'mapGet',
|
|
3468
3468
|
}]
|
|
3469
3469
|
}, {
|
|
3470
3470
|
type: Injectable,
|