From 460789bef41a0325c522f2918041570dcd1cede8 Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Wed, 9 Aug 2023 08:51:32 +0100 Subject: [PATCH] Parse specific step as int --- packages/client/src/components/app/forms/InnerForm.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/app/forms/InnerForm.svelte b/packages/client/src/components/app/forms/InnerForm.svelte index c0b4b2b8a8..b4370993a8 100644 --- a/packages/client/src/components/app/forms/InnerForm.svelte +++ b/packages/client/src/components/app/forms/InnerForm.svelte @@ -250,7 +250,7 @@ } else if (type === "first") { currentStep.set(1) } else if (type === "specific" && number && !isNaN(number)) { - currentStep.set(number) + currentStep.set(parseInt(number)) } }, setStep: step => {