ngx-rs-ant 2.0.6 → 2.0.7

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.
@@ -3350,7 +3350,10 @@ class IconSelectorComponent {
3350
3350
  for (let j = 0; j < styles[i].cssRules.length; j++) {
3351
3351
  let cssSelectorText = styles[i].cssRules[j].selectorText;
3352
3352
  if (cssSelectorText && cssSelectorText.indexOf('.coast-icon-') === 0 && regex.test(cssSelectorText)) {
3353
- this.iconList.push(cssSelectorText.substring(1, cssSelectorText.length - 8));
3353
+ const icon = cssSelectorText.substring(1, cssSelectorText.length - 8);
3354
+ if (!this.iconList.includes(icon)) {
3355
+ this.iconList.push(icon);
3356
+ }
3354
3357
  }
3355
3358
  }
3356
3359
  }