Skip to content

Commit

Permalink
Update the row count after refetch
Browse files Browse the repository at this point in the history
Signed-off-by: popcorny <[email protected]>
  • Loading branch information
popcornylu committed Oct 29, 2024
1 parent c5537c0 commit 3fa5b35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/src/lib/hooks/useRun.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ export const useRun = (runId?: string): UseRunResult => {
if (error || run?.result || run?.error) {
if (isRunning) {
setIsRunning(false);
if (run?.type === "row_count_diff") {
refetchRunsAggregated();
}
}
if (run?.type === "row_count_diff") {
refetchRunsAggregated();
}
}

Expand Down

0 comments on commit 3fa5b35

Please sign in to comment.