Skip to content

Commit

Permalink
Update js/PageNavModel.js
Browse files Browse the repository at this point in the history
Co-authored-by: Oliver Foster <[email protected]>
  • Loading branch information
StuartNicholls and oliverfoster authored May 1, 2024
1 parent c380a75 commit 4f28deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/PageNavModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class PageNavModel extends ComponentModel {
index: 0,
order: order++,
_tooltipId: `pagenav_btn${type}`,
locked: (item._isLocked && !currentPageOptional) || ((buttonConfig._lockUntilPageComplete && !currentPageComplete) && !currentPageOptional)
locked: !currentPageOptional && (item._isLocked || (buttonConfig._lockUntilPageComplete && !currentPageComplete))
});
unsortedItems.push(item);
}
Expand Down

0 comments on commit 4f28deb

Please sign in to comment.