← All changes
|
classes/Visualizer/Gutenberg/src/Components/Sidebar/RowCellSettings.js
+1
-2
3.10.13
→
3.4.2
View file →
| @@ -25,9 +25,8 @@ | ||
| 25 | 25 | |
| 26 | 26 | const settings = this.props.chart['visualizer-settings']; |
| 27 | 27 | |
| 28 | 28 | const type = this.props.chart['visualizer-chart-type']; |
| 29 | - const library = this.props.chart['visualizer-chart-library']; | |
| 30 | 29 | |
| 31 | 30 | return ( |
| 32 | 31 | <PanelBody |
| 33 | 32 | title={ __( 'Row/Cell Settings' ) } |
| @@ -34,9 +33,9 @@ | ||
| 34 | 33 | initialOpen={ false } |
| 35 | 34 | className="visualizer-advanced-panel" |
| 36 | 35 | > |
| 37 | 36 | |
| 38 | - { ( 'DataTable' === library ) ? ( | |
| 37 | + { ( 'dataTable' === type ) ? ( | |
| 39 | 38 | <Fragment> |
| 40 | 39 | |
| 41 | 40 | <PanelBody |
| 42 | 41 | title={ __( 'Odd Table Row' ) } |