forked from tykayn/funky-framadate-front
choice step jump in nav
This commit is contained in:
parent
5edeb34ceb
commit
73dc9d69f3
@ -19,5 +19,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<app-nav-steps
|
<app-nav-steps
|
||||||
[next_step_number]="pollService.step_current + 1"
|
[next_step_number]="pollService.step_current + 1"
|
||||||
[previous_step_number]="pollService.step_current - 1"
|
[previous_step_number]="
|
||||||
|
pollService.form.value.isAboutDate ? pollService.step_current - 1 : pollService.step_current - 2
|
||||||
|
"
|
||||||
></app-nav-steps>
|
></app-nav-steps>
|
||||||
|
@ -43,6 +43,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<app-nav-steps
|
<app-nav-steps
|
||||||
[actionBeforeNextStep]="convertDateInputs"
|
[actionBeforeNextStep]="convertDateInputs"
|
||||||
[next_step_number]="pollService.step_current + 1"
|
[next_step_number]="
|
||||||
|
pollService.form.value.isAboutDate ? pollService.step_current + 1 : pollService.step_current + 2
|
||||||
|
"
|
||||||
[previous_step_number]="pollService.step_current - 1"
|
[previous_step_number]="pollService.step_current - 1"
|
||||||
></app-nav-steps>
|
></app-nav-steps>
|
||||||
|
Loading…
Reference in New Issue
Block a user