Skip to content

Commit

Permalink
fix: show queries built in advanced mode when switching tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
hoorayimhelping committed Jan 7, 2020
1 parent ec35815 commit 73f0f56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/timeMachine/reducers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,7 @@ const buildActiveQuery = (draftState: TimeMachineState) => {

if (isConfigValid(draftQuery.builderConfig)) {
draftQuery.text = buildQuery(draftQuery.builderConfig)
} else {
} else if (!draftQuery.text) {
draftQuery.text = ''
}
}
Expand Down

0 comments on commit 73f0f56

Please sign in to comment.