File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ import { HintYellow } from "@/components/hint";
2323import { MetadataPanel } from "@/components/metadata-panel" ;
2424import { ChartConfig , DataSource , useConfiguratorState } from "@/configurator" ;
2525import { DataSetTable } from "@/configurator/components/datatable" ;
26- import { flag } from "@/configurator/components/flag" ;
2726import {
2827 DimensionMetadataFragment ,
2928 useDataCubeMetadataWithComponentValuesQuery ,
@@ -152,14 +151,12 @@ export const ChartPreviewInner = ({
152151 ) }
153152 </ Typography >
154153
155- { flag ( "metadata" ) && (
156- < MetadataPanel
157- datasetIri = { dataSetIri }
158- dataSource = { dataSource }
159- dimensions = { allDimensions }
160- top = { 96 }
161- />
162- ) }
154+ < MetadataPanel
155+ datasetIri = { dataSetIri }
156+ dataSource = { dataSource }
157+ dimensions = { allDimensions }
158+ top = { 96 }
159+ />
163160 </ Flex >
164161 < Head >
165162 < title key = "title" >
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ import {
3434} from "@/configurator" ;
3535import { DataSetTable } from "@/configurator/components/datatable" ;
3636import { DRAWER_WIDTH } from "@/configurator/components/drawer" ;
37- import { flag } from "@/configurator/components/flag" ;
3837import { parseDate } from "@/configurator/components/ui-helpers" ;
3938import {
4039 DEFAULT_DATA_SOURCE ,
@@ -215,14 +214,12 @@ export const ChartPublishedInner = ({
215214 { meta . title [ locale ] }
216215 </ Typography >
217216
218- { flag ( "metadata" ) && (
219- < MetadataPanel
220- datasetIri = { dataSet }
221- dataSource = { dataSource }
222- dimensions = { allDimensions }
223- container = { rootRef . current }
224- />
225- ) }
217+ < MetadataPanel
218+ datasetIri = { dataSet }
219+ dataSource = { dataSource }
220+ dimensions = { allDimensions }
221+ container = { rootRef . current }
222+ />
226223 </ Flex >
227224
228225 { meta . description [ locale ] && (
You can’t perform that action at this time.
0 commit comments