Skip to content

Commit

Permalink
fix(insights): Take queued tiles into account when blocking dashboard…
Browse files Browse the repository at this point in the history
… refresh button (#23326)
  • Loading branch information
webjunkie authored Jun 28, 2024
1 parent 3e27fbc commit b4d412d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/scenes/dashboard/dashboardLogic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ export const dashboardLogic = kea<dashboardLogicType>([
itemsLoading: [
(s) => [s.dashboardLoading, s.refreshStatus],
(dashboardLoading, refreshStatus) => {
return dashboardLoading || Object.values(refreshStatus).some((s) => s.loading)
return dashboardLoading || Object.values(refreshStatus).some((s) => s.loading || s.queued)
},
],
isRefreshingQueued: [(s) => [s.refreshStatus], (refreshStatus) => (id: string) => !!refreshStatus[id]?.queued],
Expand Down

0 comments on commit b4d412d

Please sign in to comment.