File tree 1 file changed +3
-3
lines changed
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}%`;
91
91
<!-- normal line style -->
92
92
@if (isSteps) {
93
93
<div class="ant-progress-steps-outer">
94
- @for (step of steps; track step ) {
94
+ @for (step of steps; track $index ) {
95
95
<div class="ant-progress-steps-item" [style]="step"></div>
96
96
}
97
97
<ng-template [ngTemplateOutlet]="progressInfoTemplate" />
@@ -137,7 +137,7 @@ const defaultFormatter: NzProgressFormatter = (p: number): string => `${p}%`;
137
137
@if (isGradient) {
138
138
<defs>
139
139
<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 ) {
141
141
<stop [attr.offset]="i.offset" [attr.stop-color]="i.color"></stop>
142
142
}
143
143
</linearGradient>
@@ -152,7 +152,7 @@ const defaultFormatter: NzProgressFormatter = (p: number): string => `${p}%`;
152
152
[attr.d]="pathString"
153
153
[style]="trailPathStyle"
154
154
></path>
155
- @for (p of progressCirclePath; track p ) {
155
+ @for (p of progressCirclePath; track $index ) {
156
156
<path
157
157
class="ant-progress-circle-path"
158
158
fill-opacity="0"
You can’t perform that action at this time.
0 commit comments