Skip to content

Commit

Permalink
adds viewData and viewDataFormat config options
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry authored Mar 1, 2022
1 parent fb8abb5 commit 04cb546
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cms/src/components/Viz/Viz.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 04cb546

Please sign in to comment.