Skip to content

Commit

Permalink
fix(QBreadcrumbs): class --last applied to wrong elements (quasarfram…
Browse files Browse the repository at this point in the history
  • Loading branch information
MilosPaunovic authored Jan 11, 2022
1 parent 5143191 commit 7b9dd16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/breadcrumbs/QBreadcrumbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default createComponent({
if (comp.type !== void 0 && comp.type.name === 'QBreadcrumbsEl') {
const middle = els < len
const disabled = comp.props !== null && disabledValues.includes(comp.props.disable)
const cls = (middle === true ? ' q-breadcrumbs--last' : '')
const cls = (middle === true ? '' : ' q-breadcrumbs--last')
+ (disabled !== true && middle === true ? activeClass.value : '')

els++
Expand Down

0 comments on commit 7b9dd16

Please sign in to comment.