@annalib/anna-core 35.0.13 → 35.0.16

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.
@@ -4635,10 +4635,8 @@ class AnnaSingleSelectComponent {
4635
4635
  return;
4636
4636
  }
4637
4637
  if (!isEqual(this.selectedItem, item)) {
4638
- if (!isEqual(this.selectedItem, item)) {
4639
- if (this.config.showBlueBorderOnEdit) {
4640
- this.showBlueBorder = true;
4641
- }
4638
+ if (this.config.showBlueBorderOnEdit) {
4639
+ this.showBlueBorder = !isEqual(this.config.initialSelectedItem, item);
4642
4640
  }
4643
4641
  this.valueChanged.emit(item);
4644
4642
  }