|
12 | 12 | </div> |
13 | 13 | </div> |
14 | 14 | <div class="{{ _getVBodyClass(i) }}"> |
15 | | - <ng-container *ngIf="mainStep?.steps"> |
16 | | - <ul style="padding-inline-start: 0rem; margin-left: -7px"> |
17 | | - <li *ngFor="let subStep of mainStep.steps" class="psdk-sub-step-list"> |
18 | | - <div style="display: inline-flex"> |
19 | | - <img *ngIf="subStep.visited_status == 'current'" class="psdk-current-svg-icon" src="{{ svgCurrent$ }}" /> |
20 | | - <img *ngIf="subStep.visited_status != 'current'" class="psdk-not-current-svg-icon" src="{{ svgNotCurrent$ }}" /> |
21 | | - <label *ngIf="subStep.visited_status == 'current'" class="psdk-sub-step-current">{{ subStep.name }}</label> |
22 | | - <label *ngIf="subStep.visited_status != 'current'" class="psdk-sub-step-not-current">{{ subStep.name }}</label> |
23 | | - </div> |
24 | | - <div *ngIf="subStep.visited_status == 'current'"> |
25 | | - <component-mapper |
26 | | - name="AssignmentCard" |
27 | | - [props]="{ pConn$, formGroup$, arChildren$, arMainButtons$, arSecondaryButtons$ }" |
28 | | - [parent]="this" |
29 | | - [outputEvents]="{ actionButtonClick: onActionButtonClick }" |
30 | | - ></component-mapper> |
31 | | - </div> |
32 | | - </li> |
33 | | - </ul> |
| 15 | + <ng-container *ngIf="mainStep?.steps && mainStep.visited_status == 'current'"> |
| 16 | + <div *ngFor="let subStep of mainStep.steps"> |
| 17 | + <div *ngIf="subStep.visited_status == 'current'"> |
| 18 | + <component-mapper |
| 19 | + name="AssignmentCard" |
| 20 | + [props]="{ pConn$, formGroup$, arChildren$, arMainButtons$, arSecondaryButtons$ }" |
| 21 | + [parent]="this" |
| 22 | + [outputEvents]="{ actionButtonClick: onActionButtonClick }" |
| 23 | + ></component-mapper> |
| 24 | + </div> |
| 25 | + </div> |
34 | 26 | </ng-container> |
35 | 27 |
|
36 | 28 | <ng-container *ngIf="!mainStep?.steps && mainStep.visited_status == 'current'"> |
|
64 | 56 | </ng-container> |
65 | 57 | </div> |
66 | 58 | <div *ngFor="let mainStep of arNavigationSteps$" class="psdk-horizontal-stepper-body"> |
67 | | - <ng-container *ngIf="mainStep?.steps"> |
68 | | - <ul style="padding-inline-start: 0rem; margin-left: 35px"> |
69 | | - <li *ngFor="let subStep of mainStep.steps" class="psdk-sub-step-list"> |
70 | | - <div style="display: inline-flex"> |
71 | | - <img *ngIf="subStep.visited_status == 'current'" class="psdk-current-svg-icon" src="{{ svgCurrent$ }}" /> |
72 | | - <img *ngIf="subStep.visited_status != 'current'" class="psdk-not-current-svg-icon" src="{{ svgNotCurrent$ }}" /> |
73 | | - <label *ngIf="subStep.visited_status == 'current'" class="psdk-sub-step-current">{{ subStep.name }}</label> |
74 | | - <label *ngIf="subStep.visited_status != 'current'" class="psdk-sub-step-not-current">{{ subStep.name }}</label> |
75 | | - </div> |
76 | | - <div *ngIf="subStep.visited_status == 'current'"> |
77 | | - <component-mapper |
78 | | - name="AssignmentCard" |
79 | | - [props]="{ pConn$, formGroup$, arChildren$, arMainButtons$, arSecondaryButtons$ }" |
80 | | - [parent]="this" |
81 | | - [outputEvents]="{ actionButtonClick: onActionButtonClick }" |
82 | | - ></component-mapper> |
83 | | - </div> |
84 | | - </li> |
85 | | - </ul> |
| 59 | + <ng-container *ngIf="mainStep?.steps && mainStep.visited_status == 'current'"> |
| 60 | + <div *ngFor="let subStep of mainStep.steps"> |
| 61 | + <div *ngIf="subStep.visited_status == 'current'"> |
| 62 | + <component-mapper |
| 63 | + name="AssignmentCard" |
| 64 | + [props]="{ pConn$, formGroup$, arChildren$, arMainButtons$, arSecondaryButtons$ }" |
| 65 | + [parent]="this" |
| 66 | + [outputEvents]="{ actionButtonClick: onActionButtonClick }" |
| 67 | + ></component-mapper> |
| 68 | + </div> |
| 69 | + </div> |
86 | 70 | </ng-container> |
87 | 71 |
|
88 | 72 | <ng-container *ngIf="!mainStep?.steps && mainStep.visited_status == 'current'"> |
|
0 commit comments