mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-22 08:28:35 +00:00
current step count (#12579)
This commit is contained in:
parent
07f2e7137f
commit
b24f14a1b5
2 changed files with 2 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ const OnboardingForm = ({
|
|||
<div className={iconClasses} onClick={handleBackClick} data-cy="back-button">
|
||||
<LeftArow />
|
||||
</div>
|
||||
<span>Step {currentStep}</span> of {totalSteps}
|
||||
<span>Step {currentStep == 0 ? currentStep + 1 : currentStep}</span> of {totalSteps}
|
||||
</div>
|
||||
<FormHeader>{title}</FormHeader>
|
||||
{description && <FormDescription>{description}</FormDescription>}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ const useCEOnboardingStore = create(
|
|||
// Workspace name
|
||||
workspaceName: '',
|
||||
|
||||
currentStep: 1,
|
||||
currentStep: 0,
|
||||
totalSteps: 1,
|
||||
accountCreated: false,
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue