Skip to content

Commit

Permalink
fix(selection-panel): fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
TomMenga committed Jan 17, 2024
1 parent 52b7c4f commit 0034b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/selection-panel/selection-panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export class SbbSelectionPanelElement extends LitElement {
private _updateSelectionPanel(): void {
this._checked = this._input?.checked;
this._state =
this.forceOpen || (this._namedSlots.slots.has['content'] && this._checked)
this.forceOpen || (this._namedSlots.slots.has('content') && this._checked)
? 'opened'
: 'closed';
this._disabled = this._input?.disabled;
Expand Down

0 comments on commit 0034b7c

Please sign in to comment.