diff --git a/frontend/src/lib/components/Cards/InsightCard/InsightCard.scss b/frontend/src/lib/components/Cards/InsightCard/InsightCard.scss index 684a6d758d5d8..0a83c8efc683b 100644 --- a/frontend/src/lib/components/Cards/InsightCard/InsightCard.scss +++ b/frontend/src/lib/components/Cards/InsightCard/InsightCard.scss @@ -112,7 +112,7 @@ .InsightDetails__footer { display: grid; - grid-template-columns: repeat(2, 1fr); + grid-template-columns: repeat(3, 1fr); .profile-package { vertical-align: middle; diff --git a/frontend/src/lib/components/Cards/InsightCard/InsightDetails.tsx b/frontend/src/lib/components/Cards/InsightCard/InsightDetails.tsx index 66751fc6e2ffb..ffc72eae269cc 100644 --- a/frontend/src/lib/components/Cards/InsightCard/InsightDetails.tsx +++ b/frontend/src/lib/components/Cards/InsightCard/InsightDetails.tsx @@ -353,6 +353,14 @@ function InsightDetailsInternal({ insight }: { insight: InsightModel }, ref: Rea + {insight.last_refresh && ( +
+
Last computed
+
+ +
+
+ )} ) diff --git a/frontend/src/scenes/dashboard/dashboardLogic.tsx b/frontend/src/scenes/dashboard/dashboardLogic.tsx index a956bd2fc0dd5..5c8d9977c4d23 100644 --- a/frontend/src/scenes/dashboard/dashboardLogic.tsx +++ b/frontend/src/scenes/dashboard/dashboardLogic.tsx @@ -1091,6 +1091,7 @@ export const dashboardLogic = kea([ if (values.autoRefresh.enabled) { // Refresh right now after enabling if we haven't refreshed recently if ( + !values.itemsLoading && values.lastRefreshed && values.lastRefreshed.isBefore(now().subtract(values.autoRefresh.interval, 'seconds')) ) {