There was an error while loading. Please reload this page.
1 parent 75f1a7e commit 3efdf34Copy full SHA for 3efdf34
1 file changed
app/components/primer/alpha/tree_view/tree_view.ts
@@ -341,19 +341,6 @@ export class TreeViewElement extends HTMLElement {
341
}
342
343
344
- toggleCheckedAtPath(path: string[]) {
345
- const node = this.nodeAtPath(path)
346
- if (!node) return
347
-
348
- if (this.getNodeType(node) === 'leaf') {
349
- if (this.getNodeCheckedValue(node) === 'true') {
350
- this.uncheckAtPath(path)
351
- } else {
352
- this.checkAtPath(path)
353
- }
354
355
356
357
checkedValueAtPath(path: string[]): TreeViewCheckedValue {
358
const node = this.nodeAtPath(path)
359
if (!node) return 'false'
0 commit comments