← All changes
|
classes/Visualizer/Gutenberg/src/Components/Sidebar/FrontendActions.js
+1
-21
3.10.1
→
3.5.1
View file →
| @@ -8,9 +8,8 @@ | ||
| 8 | 8 | Fragment |
| 9 | 9 | } = wp.element; |
| 10 | 10 | |
| 11 | 11 | const { |
| 12 | - Button, | |
| 13 | 12 | CheckboxControl, |
| 14 | 13 | PanelBody |
| 15 | 14 | } = wp.components; |
| 16 | 15 | |
| @@ -34,9 +33,8 @@ | ||
| 34 | 33 | const settings = this.props.chart['visualizer-settings']; |
| 35 | 34 | const type = this.props.chart['visualizer-chart-type']; |
| 36 | 35 | |
| 37 | 36 | return ( |
| 38 | - ( '' !== visualizerLocalize.proFeaturesLocked ) ? | |
| 39 | 37 | <PanelBody |
| 40 | 38 | title={ __( 'Frontend Actions' ) } |
| 41 | 39 | initialOpen={ false } |
| 42 | 40 | className="visualizer-advanced-panel" |
| @@ -136,27 +134,9 @@ | ||
| 136 | 134 | </Fragment> |
| 137 | 135 | |
| 138 | 136 | ) } |
| 139 | 137 | |
| 140 | - </PanelBody> : | |
| 141 | - <PanelBody | |
| 142 | - title={ __( 'Frontend Actions' ) } | |
| 143 | - initialOpen={ false } | |
| 144 | - icon="lock" | |
| 145 | - className="visualizer-advanced-panel" | |
| 146 | - > | |
| 147 | - | |
| 148 | - <p>{ __( 'Enable this feature in PRO version!' ) }</p> | |
| 149 | - | |
| 150 | - <Button | |
| 151 | - isPrimary | |
| 152 | - href={ visualizerLocalize.proTeaser } | |
| 153 | - target="_blank" | |
| 154 | - > | |
| 155 | - { __( 'Buy Now' ) } | |
| 156 | - </Button> | |
| 157 | - | |
| 158 | - </PanelBody> | |
| 138 | + </PanelBody> | |
| 159 | 139 | ); |
| 160 | 140 | } |
| 161 | 141 | } |
| 162 | 142 | |