| @@ -123,11 +123,8 @@ | ||
| 123 | 123 | } |
| 124 | 124 | |
| 125 | 125 | editSettings( settings ) { |
| 126 | 126 | let chart = { ...this.state.chart }; |
| 127 | - if ( '1' !== settings.pagination ) { | |
| 128 | - delete settings.pageSize; | |
| 129 | - } | |
| 130 | 127 | chart['visualizer-settings'] = settings; |
| 131 | 128 | this.setState({ |
| 132 | 129 | chart, |
| 133 | 130 | isModified: true |
| @@ -464,20 +461,8 @@ | ||
| 464 | 461 | isDismissible={ false } |
| 465 | 462 | > |
| 466 | 463 | <Dashicon icon="chart-pie" /> |
| 467 | 464 | { __( 'This chart is not available; it might have been deleted. Please delete this block and resubmit your chart.' ) } |
| 468 | - </Notice> | |
| 469 | - ); | |
| 470 | - } | |
| 471 | - | |
| 472 | - if ( '1' === visualizerLocalize.isFullSiteEditor ) { | |
| 473 | - return ( | |
| 474 | - <Notice | |
| 475 | - status="error" | |
| 476 | - isDismissible={ false } | |
| 477 | - > | |
| 478 | - <Dashicon icon="chart-pie" /> | |
| 479 | - { __( 'Visualizer block charts are currently not available for selection here, you must visit the library, get the shortcode, and add the chart here in a shortcode tag.' ) } | |
| 480 | 465 | </Notice> |
| 481 | 466 | ); |
| 482 | 467 | } |
| 483 | 468 | |