|
24 | 24 | <ng-container [ngSwitch]="(currentStep | async)?.wizardPageName">
|
25 | 25 | <!-- From this point the steps are always displayed -->
|
26 | 26 | <ng-container *ngSwitchCase="'project-categories'">
|
27 |
| - <app-project-categories (clickNext)="onNextStep()" [step]="(currentStep | async)"></app-project-categories> |
| 27 | + <app-project-categories (clickNext)="onNextStep()" (clickPrevious)="onPreviousStep()" [step]="(currentStep | async)"></app-project-categories> |
28 | 28 | </ng-container>
|
29 | 29 | <ng-container *ngSwitchCase="'project-name'">
|
30 |
| - <app-project-name (clickNext)="onNextStep()" [step]="(currentStep | async)"></app-project-name> |
| 30 | + <app-project-name (clickNext)="onNextStep()" (clickPrevious)="onPreviousStep()" [step]="(currentStep | async)"></app-project-name> |
31 | 31 | </ng-container>
|
32 | 32 | <ng-container *ngSwitchCase="'project-description'">
|
33 |
| - <app-project-description (clickNext)="onNextStep()" [step]="(currentStep | async)"></app-project-description> |
| 33 | + <app-project-description (clickNext)="onNextStep()" (clickPrevious)="onPreviousStep()" [step]="(currentStep | async)"></app-project-description> |
34 | 34 | </ng-container>
|
35 | 35 | <ng-container *ngSwitchCase="'project-images'">
|
36 |
| - <app-project-images (clickNext)="onNextStep()" [step]="(currentStep | async)"></app-project-images> |
| 36 | + <app-project-images (clickNext)="onNextStep()" (clickPrevious)="onPreviousStep()" [step]="(currentStep | async)"></app-project-images> |
37 | 37 | </ng-container>
|
38 | 38 | <ng-container *ngSwitchCase="'project-icon'">
|
39 |
| - <app-project-icon (clickNext)="onNextStep()" [isOptional]="true" [step]="(currentStep | async)"></app-project-icon> |
| 39 | + <app-project-icon (clickNext)="onNextStep()" (clickPrevious)="onPreviousStep()" [isOptional]="true" [step]="(currentStep | async)"></app-project-icon> |
40 | 40 | </ng-container>
|
41 | 41 | <ng-container *ngSwitchCase="'project-collaborators'">
|
42 |
| - <app-project-collaborators (clickNext)="onNextStep()" [isOptional]="true" [step]="(currentStep | async)"></app-project-collaborators> |
| 42 | + <app-project-collaborators (clickNext)="onNextStep()" (clickPrevious)="onPreviousStep()" [isOptional]="true" [step]="(currentStep | async)"></app-project-collaborators> |
43 | 43 | </ng-container>
|
44 | 44 | <ng-container *ngSwitchCase="'project-call-to-action'">
|
45 |
| - <app-project-call-to-action (clickNext)="onNextStep()" [isOptional]="true" [step]="(currentStep | async)"></app-project-call-to-action> |
| 45 | + <app-project-call-to-action (clickNext)="onNextStep()" (clickPrevious)="onPreviousStep()" [isOptional]="true" [step]="(currentStep | async)"></app-project-call-to-action> |
46 | 46 | </ng-container>
|
47 | 47 | <ng-container *ngSwitchCase="'project-link'">
|
48 | 48 | <app-project-link (clickNext)="onNextStep()" [formSubmitted]="formSubmitted" [step]="(currentStep | async)"></app-project-link>
|
|
0 commit comments