ngx-render-material-forms 2.3.9 → 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.
@@ -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
  }
@@ -4559,8 +4559,9 @@ MaterialDataGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
4559
4559
 
4560
4560
  <!-- Message when no products are found -->
4561
4561
  <div class="no-data-message" *ngIf="!showDataGrid || (dataSource?.data?.length === 0 && !showNewProductPicker)">
4562
- {{ checkSubmissionStatus === false ? 'No products found. Please add at least one product to continue.' : 'No products found. Please add some products.' }}
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')">
@@ -4719,8 +4720,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
4719
4720
 
4720
4721
  <!-- Message when no products are found -->
4721
4722
  <div class="no-data-message" *ngIf="!showDataGrid || (dataSource?.data?.length === 0 && !showNewProductPicker)">
4722
- {{ checkSubmissionStatus === false ? 'No products found. Please add at least one product to continue.' : 'No products found. Please add some products.' }}
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')">