Wizard: enable nav items properly in Edit mode
This commit is contained in:
parent
549ef37ab7
commit
4044b9eba1
3 changed files with 69 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ const CreateImageWizard = ({ isEdit }: CreateImageWizardProps) => {
|
|||
) => {
|
||||
const isVisitRequired = true;
|
||||
const hasVisitedNextStep = steps.some(
|
||||
(step) => step.index > step.index + 1 && step.isVisited
|
||||
(s) => s.index > step.index && s.isVisited
|
||||
);
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue