@elite.framework/ng.core 1.0.54 → 1.0.55
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.
|
@@ -6341,8 +6341,8 @@ class BaseCrud {
|
|
|
6341
6341
|
openEditor(item, mode) {
|
|
6342
6342
|
this.mode = mode;
|
|
6343
6343
|
this.selectedItem = item ?? this.defaultModel ?? {};
|
|
6344
|
-
this.isEditMode = mode
|
|
6345
|
-
this.isViewMode = mode
|
|
6344
|
+
this.isEditMode = mode == 'edit';
|
|
6345
|
+
this.isViewMode = mode == 'view';
|
|
6346
6346
|
if (this.displayMode == 'drawer') {
|
|
6347
6347
|
this.drawerVisible = true;
|
|
6348
6348
|
}
|