Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
willeastcott committed Dec 27, 2024
1 parent 35b7e77 commit 2765fa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/TreeViewItem/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -480,10 +480,10 @@ class TreeViewItem extends Container {
*/
set open(value) {
if (this.open === value) return;

// Store intended state
this._intendedOpenState = value;

if (value) {
if (!this.numChildren) return;
this.class.add(CLASS_OPEN);
Expand Down

0 comments on commit 2765fa4

Please sign in to comment.