mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +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">
|
<div className={iconClasses} onClick={handleBackClick} data-cy="back-button">
|
||||||
<LeftArow />
|
<LeftArow />
|
||||||
</div>
|
</div>
|
||||||
<span>Step {currentStep}</span> of {totalSteps}
|
<span>Step {currentStep == 0 ? currentStep + 1 : currentStep}</span> of {totalSteps}
|
||||||
</div>
|
</div>
|
||||||
<FormHeader>{title}</FormHeader>
|
<FormHeader>{title}</FormHeader>
|
||||||
{description && <FormDescription>{description}</FormDescription>}
|
{description && <FormDescription>{description}</FormDescription>}
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ const useCEOnboardingStore = create(
|
||||||
// Workspace name
|
// Workspace name
|
||||||
workspaceName: '',
|
workspaceName: '',
|
||||||
|
|
||||||
currentStep: 1,
|
currentStep: 0,
|
||||||
totalSteps: 1,
|
totalSteps: 1,
|
||||||
accountCreated: false,
|
accountCreated: false,
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue