ngx-render-material-forms 2.3.8 → 2.4.0
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 +4 -2
- package/fesm2015/ngx-render-material-forms.js +3 -1
- package/fesm2015/ngx-render-material-forms.mjs.map +1 -1
- package/fesm2020/ngx-render-material-forms.js +3 -1
- package/fesm2020/ngx-render-material-forms.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -4384,7 +4384,7 @@ class MaterialDataGridComponent extends MaterialNestedComponent {
|
|
|
4384
4384
|
this.dataSource.data = instance.dataValue;
|
|
4385
4385
|
}
|
|
4386
4386
|
//this.checkSubmissionStatus &&
|
|
4387
|
-
if (!this.hasValueAndEditMode) {
|
|
4387
|
+
if (this.checkSubmissionStatus && !this.hasValueAndEditMode) {
|
|
4388
4388
|
this.showDataGrid = false;
|
|
4389
4389
|
this.dataSource.data = [];
|
|
4390
4390
|
}
|
|
@@ -4561,6 +4561,7 @@ MaterialDataGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
4561
4561
|
<div class="no-data-message" *ngIf="!showDataGrid || (dataSource?.data?.length === 0 && !showNewProductPicker)">
|
|
4562
4562
|
No products found. Please add some products.
|
|
4563
4563
|
</div>
|
|
4564
|
+
|
|
4564
4565
|
<ng-container *ngIf="showDataGrid">
|
|
4565
4566
|
<mat-card-actions
|
|
4566
4567
|
*ngIf="instance.hasAddButton() && (instance.component.addAnotherPosition === 'both' || instance.component.addAnotherPosition === 'top')">
|
|
@@ -4721,6 +4722,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
4721
4722
|
<div class="no-data-message" *ngIf="!showDataGrid || (dataSource?.data?.length === 0 && !showNewProductPicker)">
|
|
4722
4723
|
No products found. Please add some products.
|
|
4723
4724
|
</div>
|
|
4725
|
+
|
|
4724
4726
|
<ng-container *ngIf="showDataGrid">
|
|
4725
4727
|
<mat-card-actions
|
|
4726
4728
|
*ngIf="instance.hasAddButton() && (instance.component.addAnotherPosition === 'both' || instance.component.addAnotherPosition === 'top')">
|