Skip to content

Commit

Permalink
fix: enable programmatic disabled #2248
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-ico authored Jan 10, 2024
1 parent 7aec49c commit bab9369
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/components/src/components/tab-nav/tab-nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ export class TabNav {

getAllEnabledTabs(): HTMLScaleTabHeaderElement[] {
return Array.from(
this.el.querySelectorAll('scale-tab-header:not([disabled])')
this.el.querySelectorAll(
'scale-tab-header:not([disabled]), scale-tab-header[disabled="false"]'
)
);
}

Expand Down

0 comments on commit bab9369

Please sign in to comment.