mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
prettier
This commit is contained in:
@@ -180,7 +180,7 @@ export default class SlTree extends ShoelaceElement {
|
||||
} else if (this.selection === 'single' || selectedItem.isLeaf) {
|
||||
const items = this.getAllTreeItems();
|
||||
for (const item of items) {
|
||||
item.selected = (item === selectedItem);
|
||||
item.selected = item === selectedItem;
|
||||
}
|
||||
} else if (this.selection === 'leaf') {
|
||||
selectedItem.expanded = !selectedItem.expanded;
|
||||
|
||||
Reference in New Issue
Block a user