Skip to content

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

lock a card display type for the VisualizationCard (#70016)

Egor Grushin93cb3bc32748
diff --git a/frontend/src/metabase/transforms/pages/TransformInspectPage/components/LensSections/DefaultLensSections/components/VisualizationCard.tsx b/frontend/src/metabase/transforms/pages/TransformInspectPage/components/LensSections/DefaultLensSections/components/VisualizationCard.tsx
index 343ac96e170..a0cbf7df0e8 100644
--- a/frontend/src/metabase/transforms/pages/TransformInspectPage/components/LensSections/DefaultLensSections/components/VisualizationCard.tsx
+++ b/frontend/src/metabase/transforms/pages/TransformInspectPage/components/LensSections/DefaultLensSections/components/VisualizationCard.tsx
@@ -132,6 +132,7 @@ function buildRawSeries(
card: createMockCard({
name: card.title,
display: vizDisplay,
+ displayIsLocked: true,
dataset_query: card.dataset_query,
visualization_settings: {
"graph.y_axis.labels_enabled": false,