Skip to content

Commit

Permalink
fix(ddm): Reset focus when series change (#57006)
Browse files Browse the repository at this point in the history
  • Loading branch information
matejminar authored Sep 27, 2023
1 parent bbf4be7 commit b320f46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions static/app/views/ddm/metricsExplorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ function QueryBuilder({metricsQuery}: QueryBuilderProps) {
mri: option.value,
op: selectedOp,
groupBy: undefined,
focusedSeries: undefined,
});
}}
/>
Expand Down Expand Up @@ -169,6 +170,7 @@ function QueryBuilder({metricsQuery}: QueryBuilderProps) {
onChange={options =>
updateQuery(router, {
groupBy: options.map(o => o.value),
focusedSeries: undefined,
})
}
/>
Expand Down

0 comments on commit b320f46

Please sign in to comment.