ngx-render-material-forms 2.3.7 → 2.3.9

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.
@@ -4383,7 +4383,8 @@ class MaterialDataGridComponent extends MaterialNestedComponent {
4383
4383
  else {
4384
4384
  this.dataSource.data = instance.dataValue;
4385
4385
  }
4386
- if (this.checkSubmissionStatus && !this.hasValueAndEditMode) {
4386
+ //this.checkSubmissionStatus &&
4387
+ if (!this.hasValueAndEditMode) {
4387
4388
  this.showDataGrid = false;
4388
4389
  this.dataSource.data = [];
4389
4390
  }
@@ -4556,9 +4557,9 @@ MaterialDataGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
4556
4557
  </ng-container>
4557
4558
  <mat-card-content>
4558
4559
 
4559
- <!-- Message when no products are found -->
4560
+ <!-- Message when no products are found -->
4560
4561
  <div class="no-data-message" *ngIf="!showDataGrid || (dataSource?.data?.length === 0 && !showNewProductPicker)">
4561
- No products found. Please add some products.
4562
+ {{ checkSubmissionStatus === false ? 'No products found. Please add at least one product to continue.' : 'No products found. Please add some products.' }}
4562
4563
  </div>
4563
4564
  <ng-container *ngIf="showDataGrid">
4564
4565
  <mat-card-actions
@@ -4716,9 +4717,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
4716
4717
  </ng-container>
4717
4718
  <mat-card-content>
4718
4719
 
4719
- <!-- Message when no products are found -->
4720
+ <!-- Message when no products are found -->
4720
4721
  <div class="no-data-message" *ngIf="!showDataGrid || (dataSource?.data?.length === 0 && !showNewProductPicker)">
4721
- No products found. Please add some products.
4722
+ {{ checkSubmissionStatus === false ? 'No products found. Please add at least one product to continue.' : 'No products found. Please add some products.' }}
4722
4723
  </div>
4723
4724
  <ng-container *ngIf="showDataGrid">
4724
4725
  <mat-card-actions