File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ const defaultFormatter: NzProgressFormatter = (p: number): string => `${p}%`;
9191 <!-- normal line style -->
9292 @if (isSteps) {
9393 <div class="ant-progress-steps-outer">
94- @for (step of steps; track step ) {
94+ @for (step of steps; track $index ) {
9595 <div class="ant-progress-steps-item" [style]="step"></div>
9696 }
9797 <ng-template [ngTemplateOutlet]="progressInfoTemplate" />
@@ -137,7 +137,7 @@ const defaultFormatter: NzProgressFormatter = (p: number): string => `${p}%`;
137137 @if (isGradient) {
138138 <defs>
139139 <linearGradient [id]="'gradient-' + gradientId" x1="100%" y1="0%" x2="0%" y2="0%">
140- @for (i of circleGradient; track i ) {
140+ @for (i of circleGradient; track $index ) {
141141 <stop [attr.offset]="i.offset" [attr.stop-color]="i.color"></stop>
142142 }
143143 </linearGradient>
@@ -152,7 +152,7 @@ const defaultFormatter: NzProgressFormatter = (p: number): string => `${p}%`;
152152 [attr.d]="pathString"
153153 [style]="trailPathStyle"
154154 ></path>
155- @for (p of progressCirclePath; track p ) {
155+ @for (p of progressCirclePath; track $index ) {
156156 <path
157157 class="ant-progress-circle-path"
158158 fill-opacity="0"
You can’t perform that action at this time.
0 commit comments