Skip to content

Commit

Permalink
Fix: Add is-optional and is-complete classes to each PLP item (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
swashbuck authored Feb 9, 2024
1 parent 5d8a037 commit ea05914
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/pageLevelProgressItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ export default function PageLevelProgressItem(props) {
className={classes([
'pagelevelprogress__item-btn drawer__item-btn',
'js-indicator js-pagelevelprogress-item-click',
(_isComplete) && 'is-complete',
(_isOptional) && 'is-optional',
(_isLocked) && 'is-locked',
(_isLocked || !_isVisible) && 'is-disabled'
])}
Expand Down

0 comments on commit ea05914

Please sign in to comment.