@sumaris-net/ngx-components 2.6.4-rc12 → 2.6.4-rc13
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/named-filter/named-filter.service.mjs +3 -2
- package/fesm2015/sumaris-net.ngx-components.mjs +2 -1
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +2 -1
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/named-filter/named-filter.service.d.ts +3 -3
|
@@ -23007,6 +23007,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
23007
23007
|
|
|
23008
23008
|
let NamedFilter = class NamedFilter extends Entity {
|
|
23009
23009
|
fromObject(source, opts) {
|
|
23010
|
+
super.fromObject(source, opts);
|
|
23010
23011
|
this.name = source.name;
|
|
23011
23012
|
this.entityName = source.entityName;
|
|
23012
23013
|
this.recorderPersonId = source.recorderPersonId;
|
|
@@ -23015,7 +23016,7 @@ let NamedFilter = class NamedFilter extends Entity {
|
|
|
23015
23016
|
this.content = typeof source?.content === 'string' ? JSON.parse(source?.content) : source?.content || undefined;
|
|
23016
23017
|
}
|
|
23017
23018
|
catch (e) {
|
|
23018
|
-
console.error(
|
|
23019
|
+
console.error(`[named-filter] can't parse content json`, source);
|
|
23019
23020
|
throw e;
|
|
23020
23021
|
}
|
|
23021
23022
|
}
|