Parse specific step as int

This commit is contained in:
Mel O'Hagan 2023-08-09 08:51:32 +01:00
parent 22b456da5e
commit 460789bef4
1 changed files with 1 additions and 1 deletions

View File

@ -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 => {