Skip to content

Commit 9c943e2

Browse files
Improve readability
Co-authored-by: Copilot <[email protected]>
1 parent eecc193 commit 9c943e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/QuickGrid/Microsoft.AspNetCore.Components.QuickGrid/src/QuickGrid.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ public async Task RefreshDataAsync()
314314
private async Task RefreshDataCoreAsync()
315315
{
316316
// First render of Virtualize component will handle the data load itself.
317-
if (!_firstRefreshDataAsync || !Virtualize)
317+
if (!(_firstRefreshDataAsync && Virtualize))
318318
{
319319
// Move into a "loading" state, cancelling any earlier-but-still-pending load
320320
_pendingDataLoadCancellationTokenSource?.Cancel();

0 commit comments

Comments
 (0)