ngx-render-material-forms 1.7.3 → 1.7.4
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/lib/components/datagrid/datagrid.component.mjs +3 -3
- package/fesm2015/ngx-render-material-forms.js +2 -2
- package/fesm2015/ngx-render-material-forms.mjs.map +1 -1
- package/fesm2020/ngx-render-material-forms.js +2 -2
- package/fesm2020/ngx-render-material-forms.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3822,7 +3822,7 @@ class MaterialDataGridComponent extends MaterialNestedComponent {
|
|
|
3822
3822
|
this.dataSource.data = instance.dataValue;
|
|
3823
3823
|
}
|
|
3824
3824
|
if (this.checkSubmissionStatus && !this.hasValueAndEditMode && !this.showNewProductPicker) {
|
|
3825
|
-
this.showDataGrid = false;
|
|
3825
|
+
//this.showDataGrid = false;
|
|
3826
3826
|
this.dataSource.data = [];
|
|
3827
3827
|
}
|
|
3828
3828
|
else {
|
|
@@ -3927,7 +3927,7 @@ class MaterialDataGridComponent extends MaterialNestedComponent {
|
|
|
3927
3927
|
dialogRef.afterClosed().subscribe(result => {
|
|
3928
3928
|
if (result) {
|
|
3929
3929
|
if (this.dataSource?.data?.length === 1 && this.checkSubmissionStatus) {
|
|
3930
|
-
this.showDataGrid = false;
|
|
3930
|
+
//this.showDataGrid = false;
|
|
3931
3931
|
}
|
|
3932
3932
|
// User confirmed, proceed with deletion
|
|
3933
3933
|
this.instance.removeRow(index);
|