Skip to content

Commit

Permalink
feat(insights): Move dashboard tile async load out of feature flag (#…
Browse files Browse the repository at this point in the history
…22979)

Move dashboard tile async load out of feature flag
  • Loading branch information
webjunkie authored Jun 14, 2024
1 parent 756b7f8 commit ad3050b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions frontend/src/scenes/dashboard/dashboardLogic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1022,13 +1022,7 @@ export const dashboardLogic = kea<dashboardLogicType>([
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(),
Expand Down

0 comments on commit ad3050b

Please sign in to comment.