File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ export class TreeItem<V> extends DeferredContentAware implements OnInit, OnDestr
363363 ...this ,
364364 tree : treePattern ,
365365 parent : parentPattern ,
366- children : computed ( ( ) => this . _group ( ) ?. children ( ) ?? [ ] ) ,
366+ children : computed ( ( ) => this . _group ( ) ?. _childPatterns ( ) ?? [ ] ) ,
367367 hasChildren : computed ( ( ) => ! ! this . _group ( ) ) ,
368368 element : ( ) => this . element ,
369369 searchTerm : ( ) => this . searchTerm ( ) ?? '' ,
@@ -423,7 +423,7 @@ export class TreeItemGroup<V> implements OnInit, OnDestroy {
423423 private readonly _unorderedItems = signal ( new Set < TreeItem < V > > ( ) ) ;
424424
425425 /** Child items within this group. */
426- readonly children = computed < TreeItemPattern < V > [ ] > ( ( ) =>
426+ readonly _childPatterns = computed < TreeItemPattern < V > [ ] > ( ( ) =>
427427 [ ...this . _unorderedItems ( ) ] . sort ( sortDirectives ) . map ( c => c . _pattern ) ,
428428 ) ;
429429
You can’t perform that action at this time.
0 commit comments