@sumaris-net/ngx-components 2.4.33 → 2.4.34
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/form/entity/entity-editor-modal.class.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/core/form/entity/entity-editor-modal.class.d.ts +0 -1
|
@@ -28834,7 +28834,7 @@ class AppEntityEditorModal extends AppTabEditor {
|
|
|
28834
28834
|
return !this._enabled;
|
|
28835
28835
|
}
|
|
28836
28836
|
get isOnFieldMode() {
|
|
28837
|
-
return this.settings.isOnFieldMode(this.
|
|
28837
|
+
return this.settings.isOnFieldMode(this.usageMode);
|
|
28838
28838
|
}
|
|
28839
28839
|
get saving() {
|
|
28840
28840
|
return this.savingSubject.value;
|
|
@@ -28856,6 +28856,7 @@ class AppEntityEditorModal extends AppTabEditor {
|
|
|
28856
28856
|
ngOnInit() {
|
|
28857
28857
|
// Default values
|
|
28858
28858
|
this.mobile = isNotNil(this.mobile) ? this.mobile : this.settings.mobile;
|
|
28859
|
+
this.usageMode = this.usageMode || this.settings.usageMode;
|
|
28859
28860
|
super.ngOnInit();
|
|
28860
28861
|
// Register forms
|
|
28861
28862
|
this.registerForms();
|