Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Fix breadcrumb on navigation from a question to a document (#62378)

Denis Berezin367988575fab
diff --git a/frontend/src/metabase/query_builder/reducers-typed.ts b/frontend/src/metabase/query_builder/reducers-typed.ts
index fd945ca924f..fd81dc49878 100644
--- a/frontend/src/metabase/query_builder/reducers-typed.ts
+++ b/frontend/src/metabase/query_builder/reducers-typed.ts
@@ -12,6 +12,7 @@ import {
API_CREATE_QUESTION,
API_UPDATE_QUESTION,
CANCEL_QUESTION_CHANGES,
+ CLOSE_QB,
INITIALIZE_QB,
QUERY_COMPLETED,
RELOAD_CARD,
@@ -27,6 +28,7 @@ export const card = createReducer<Card<DatasetQuery> | null>(
(builder) => {
builder
.addCase(RESET_QB, () => null)
+ .addCase(CLOSE_QB, () => null)
.addCase<
string,
{