diff --git a/src/BootstrapBlazor/BootstrapBlazor.csproj b/src/BootstrapBlazor/BootstrapBlazor.csproj index 9d5cf50dda2..16a3fd77b32 100644 --- a/src/BootstrapBlazor/BootstrapBlazor.csproj +++ b/src/BootstrapBlazor/BootstrapBlazor.csproj @@ -1,7 +1,7 @@  - 9.0.2-beta02 + 9.0.2-beta03 diff --git a/src/BootstrapBlazor/Components/TreeView/TreeView.razor.cs b/src/BootstrapBlazor/Components/TreeView/TreeView.razor.cs index 7b775898de8..b3c4ec90b64 100644 --- a/src/BootstrapBlazor/Components/TreeView/TreeView.razor.cs +++ b/src/BootstrapBlazor/Components/TreeView/TreeView.razor.cs @@ -433,7 +433,7 @@ public async ValueTask TriggerKeyDown(string key) /// /// [JSInvokable] - public ValueTask> GetParentsState(List items) + public Task> GetParentsState(List items) { var rows = Rows; var result = items.Select(i => @@ -447,7 +447,7 @@ public ValueTask> GetParentsState(List items) item.CheckedState = checkedState; return checkedState; }).ToList(); - return ValueTask.FromResult(result); + return Task.FromResult(result); } private static bool IsExpand(TreeViewItem item) => item.IsExpand && item.Items.Count > 0;