File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/BootstrapBlazor/Components/TreeView Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -433,7 +433,7 @@ public async ValueTask TriggerKeyDown(string key)
433433 /// <param name="items"></param>
434434 /// <returns></returns>
435435 [ JSInvokable ]
436- public ValueTask < List < CheckboxState > > GetParentsState ( List < int > items )
436+ public Task < List < CheckboxState > > GetParentsState ( List < int > items )
437437 {
438438 var rows = Rows ;
439439 var result = items . Select ( i =>
@@ -447,7 +447,7 @@ public ValueTask<List<CheckboxState>> GetParentsState(List<int> items)
447447 item . CheckedState = checkedState ;
448448 return checkedState ;
449449 } ) . ToList ( ) ;
450- return ValueTask . FromResult ( result ) ;
450+ return Task . FromResult ( result ) ;
451451 }
452452
453453 private static bool IsExpand ( TreeViewItem < TItem > item ) => item . IsExpand && item . Items . Count > 0 ;
You can’t perform that action at this time.
0 commit comments