fix: enable Go to Dashboard button on setup wizard final step (#201)
The button was permanently disabled on Step 5 because canGoNext is false when step === STEPS.length - 1. Changed disabled condition to (!canGoNext && !isLast) so the final step bypasses canGoNext validation while preserving it on steps 1-4. Fixes GRO-373 Co-authored-by: Barkley Trimsworth <barkley@groombook.farh.net> Co-authored-by: Paperclip <noreply@paperclip.ing>
This commit was merged in pull request #201.
This commit is contained in:
committed by
GitHub
parent
60b28dadf9
commit
84097e57e4
@@ -204,7 +204,7 @@ export function SetupWizard() {
|
||||
)}
|
||||
<button
|
||||
onClick={handleNext}
|
||||
disabled={!canGoNext || loading}
|
||||
disabled={(!canGoNext && !isLast) || loading}
|
||||
style={{
|
||||
padding: "0.55rem 1.25rem",
|
||||
borderRadius: 8,
|
||||
|
||||
Reference in New Issue
Block a user