From 69d41980af33cfcda23c1a528936de954c0a2067 Mon Sep 17 00:00:00 2001 From: Michael Matloka Date: Mon, 5 Feb 2024 22:22:13 +0100 Subject: [PATCH] fix(dashboards): Refresh missing data in shared dashboards (#20144) --- frontend/src/scenes/dashboard/dashboardLogic.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/scenes/dashboard/dashboardLogic.tsx b/frontend/src/scenes/dashboard/dashboardLogic.tsx index 37172de1221a0..edf6a46a416e8 100644 --- a/frontend/src/scenes/dashboard/dashboardLogic.tsx +++ b/frontend/src/scenes/dashboard/dashboardLogic.tsx @@ -949,7 +949,9 @@ export const dashboardLogic = kea([ let refreshesFinished = 0 let totalResponseBytes = 0 - const hardRefreshWithoutCache = action === 'refresh_manual' || action === 'refresh_above_threshold' + const hardRefreshWithoutCache = ['refresh_manual', 'refresh_above_threshold', 'load_missing'].includes( + action + ) // array of functions that reload each item const fetchItemFunctions = insights.map((insight) => async () => {