Commit a24ca441 authored by Michail Tzanatos's avatar Michail Tzanatos
Browse files

removed filtering of characteristics with no value type

parent 73778786
Loading
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -126,8 +126,7 @@ export class EditProductSpecsComponent implements OnInit {
          )

          //populate Specification Characteristic Panel Info
          // filter Spec Characteristic that does not have defined Value Type (parent spec char)
          this.dataSource.data = this.spec.productSpecCharacteristic.filter(specCharacteristic => specCharacteristic.valueType)
          this.dataSource.data = this.spec.productSpecCharacteristic;
          // this.dataSource.paginator = this.paginator;

          this.specCharacteristicsTags = ["All"]
@@ -278,9 +277,6 @@ export class EditProductSpecsComponent implements OnInit {
          this.toast.success("Product Specification Characteristics list was successfully updated");
          this.retrieveProductSpec()
        }
        else {
          this.toast.error("An error occurred while updating Product Specification Characteristics list");
        }
      }
    )
  }
@@ -300,9 +296,6 @@ export class EditProductSpecsComponent implements OnInit {
          this.toast.success("Product Specification Characteristics list was successfully updated");
          this.retrieveProductSpec();
        }
        else {
          this.toast.error("An error occurred while updating Product Specification Characteristics list");
        }
      }
    )
  }