Skip to content

Commit 93acdd3

Browse files
show SeriesSettings only for google table chart (not other table charts)
1 parent cc4ba2d commit 93acdd3

File tree

1 file changed

+5
-1
lines changed
  • classes/Visualizer/Gutenberg/src/Components

1 file changed

+5
-1
lines changed

classes/Visualizer/Gutenberg/src/Components/Sidebar.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,11 @@ class Sidebar extends Component {
115115
<ComboSettings chart={ this.props.chart } edit={ this.props.edit } />
116116
) }
117117

118-
{ ( -1 >= [ 'timeline', 'bubble', 'gauge', 'geo', 'pie', 'dataTable' ].indexOf( type ) ) && (
118+
{ ( -1 >= [ 'timeline', 'bubble', 'gauge', 'geo', 'pie', 'tabular', 'dataTable' ].indexOf( type ) ) && (
119+
<SeriesSettings chart={ this.props.chart } edit={ this.props.edit } />
120+
) }
121+
122+
{ ( 'tabular' === type && 'GoogleCharts' === library ) && (
119123
<SeriesSettings chart={ this.props.chart } edit={ this.props.edit } />
120124
) }
121125

0 commit comments

Comments
 (0)