Parse specific step as int
This commit is contained in:
parent
22b456da5e
commit
460789bef4
|
@ -250,7 +250,7 @@
|
||||||
} else if (type === "first") {
|
} else if (type === "first") {
|
||||||
currentStep.set(1)
|
currentStep.set(1)
|
||||||
} else if (type === "specific" && number && !isNaN(number)) {
|
} else if (type === "specific" && number && !isNaN(number)) {
|
||||||
currentStep.set(number)
|
currentStep.set(parseInt(number))
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
setStep: step => {
|
setStep: step => {
|
||||||
|
|
Loading…
Reference in New Issue