From f1c3f22ffad3d3d8cd94da347306b5a5fd2e0eac Mon Sep 17 00:00:00 2001 From: Vikram Gaddam Date: Sat, 4 May 2024 17:25:29 +0530 Subject: [PATCH] Grid - Save and Load Grid Settings updates (#708) --- blazorbootstrap/Components/Grid/Grid.razor.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blazorbootstrap/Components/Grid/Grid.razor.cs b/blazorbootstrap/Components/Grid/Grid.razor.cs index 4ba7a6b04..83eecdba4 100644 --- a/blazorbootstrap/Components/Grid/Grid.razor.cs +++ b/blazorbootstrap/Components/Grid/Grid.razor.cs @@ -144,9 +144,9 @@ internal async Task RefreshDataAsync(bool firstRender = false, CancellationToken requestInProgress = true; - await InvokeAsync(StateHasChanged); // chnage the state to show the loading - - await Task.Delay(300); + // TODO: validate the below two lines - `Save and Load Grid Settings` functionality impacted + //await InvokeAsync(StateHasChanged); // trigger the state changed to show the loading + //await Task.Delay(300); if (firstRender) await LoadGridSettingsAsync();