From ad3050bf740ece751eb53522f7d3a31acf2bfaef Mon Sep 17 00:00:00 2001 From: Julian Bez Date: Fri, 14 Jun 2024 12:40:14 +0100 Subject: [PATCH] feat(insights): Move dashboard tile async load out of feature flag (#22979) Move dashboard tile async load out of feature flag --- frontend/src/scenes/dashboard/dashboardLogic.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/frontend/src/scenes/dashboard/dashboardLogic.tsx b/frontend/src/scenes/dashboard/dashboardLogic.tsx index 1d18ab9c31ac9..f3856bc674fb6 100644 --- a/frontend/src/scenes/dashboard/dashboardLogic.tsx +++ b/frontend/src/scenes/dashboard/dashboardLogic.tsx @@ -1022,13 +1022,7 @@ export const dashboardLogic = kea([ const queryId = `${dashboardQueryId}::${uuid()}` const queryStartTime = performance.now() const apiUrl = `api/projects/${values.currentTeamId}/insights/${insight.id}/?${toParams({ - refresh: values.featureFlags[FEATURE_FLAGS.HOGQL_DASHBOARD_ASYNC] - ? hardRefreshWithoutCache - ? 'force_async' - : 'async' - : hardRefreshWithoutCache - ? 'force_blocking' - : 'blocking', + refresh: hardRefreshWithoutCache ? 'force_async' : 'async', from_dashboard: dashboardId, // needed to load insight in correct context client_query_id: queryId, session_id: currentSessionId(),