ngx-wapp-components 3.2.27-alpha.3 → 3.2.27-alpha.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.
@@ -12647,10 +12647,12 @@ class WMaterialServiceViewComponent {
12647
12647
  this.matIconRegistry.addSvgIconLiteral("participate-again", this.domSanitizer.bypassSecurityTrustHtml(PARTICIPATE_AGAIN));
12648
12648
  }
12649
12649
  ngOnInit() {
12650
+ this.getImage();
12650
12651
  }
12651
12652
  ngOnChanges(changes) {
12652
12653
  if (changes['defaultImage'] && changes['defaultImage'].currentValue) {
12653
12654
  this.defaultImage = changes['defaultImage'].currentValue;
12655
+ this.getImage();
12654
12656
  this.isNoImage = false;
12655
12657
  if (this.isDevModeActive == true) {
12656
12658
  if (this.defaultImage) {
@@ -12745,13 +12747,7 @@ class WMaterialServiceViewComponent {
12745
12747
  }
12746
12748
  }
12747
12749
  getWappingServiceImages() {
12748
- this.wappingServiceImages = this.wappingService.wappingServiceImages;
12749
- if (this.wappingServiceImages.length == 0) {
12750
- let wappingServiceImage = {
12751
- path: this.wappingService.imageUrl,
12752
- };
12753
- this.wappingServiceImages.unshift(wappingServiceImage);
12754
- }
12750
+ this.getImage();
12755
12751
  }
12756
12752
  selectWappingService() {
12757
12753
  this.disabledToggle = true;