diff --git a/packages/cms/src/components/Viz/Viz.jsx b/packages/cms/src/components/Viz/Viz.jsx index f8e165bcd..03181aa8b 100644 --- a/packages/cms/src/components/Viz/Viz.jsx +++ b/packages/cms/src/components/Viz/Viz.jsx @@ -127,8 +127,8 @@ class Viz extends Component { key="option-key" component={{section, viz: this}} dataAttachments={vizConfig.dataAttachments} - data={vizConfig.data} - dataFormat={vizProps.dataFormat} + data={vizConfig.viewData || vizConfig.data} + dataFormat={vizConfig.viewDataFormat || vizProps.dataFormat} slug={slug } title={title || sectionTitle || slug} iconOnly={size && size.width < 320 ? true : false}