@sumaris-net/ngx-components 2.4.40 → 2.4.42
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/core/services/model/referential.model.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/app/core/services/model/referential.model.d.ts +3 -1
|
@@ -15617,12 +15617,12 @@ class BaseReferential extends Entity {
|
|
|
15617
15617
|
let Referential = class Referential extends BaseReferential {
|
|
15618
15618
|
fromObject(source, opts) {
|
|
15619
15619
|
super.fromObject(source, opts);
|
|
15620
|
-
this.
|
|
15620
|
+
this.properties = source.meta && { ...source.meta } || undefined;
|
|
15621
15621
|
}
|
|
15622
15622
|
asObject(opts) {
|
|
15623
15623
|
const target = super.asObject(opts);
|
|
15624
15624
|
if (opts?.minify) {
|
|
15625
|
-
delete target.
|
|
15625
|
+
delete target.properties;
|
|
15626
15626
|
}
|
|
15627
15627
|
return target;
|
|
15628
15628
|
}
|