@cqa-lib/cqa-ui 1.1.24 → 1.1.25

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.
@@ -5816,6 +5816,15 @@ class LoopStepComponent extends BaseStepComponent {
5816
5816
  ngOnChanges(changes) {
5817
5817
  // Update selection when selectedIterationId input changes
5818
5818
  if (changes['selectedIterationId'] && this.iterations && this.iterations.length > 0) {
5819
+ // Only update if the value actually changed
5820
+ const currentValue = changes['selectedIterationId'].currentValue;
5821
+ const previousValue = changes['selectedIterationId'].previousValue;
5822
+ if (currentValue !== previousValue) {
5823
+ this.selectDefaultIteration();
5824
+ }
5825
+ }
5826
+ // Update selection when iterations array changes
5827
+ if (changes['iterations'] && this.iterations && this.iterations.length > 0) {
5819
5828
  this.selectDefaultIteration();
5820
5829
  }
5821
5830
  // Update config when inputs change