← All changes
|
classes/Visualizer/Gutenberg/src/Components/Import/ChartImport.js
+2
-4
3.10.12
→
3.7.9
View file →
| @@ -33,11 +33,9 @@ | ||
| 33 | 33 | let id; |
| 34 | 34 | |
| 35 | 35 | charts = charts.map( ( i, index ) => { |
| 36 | 36 | let label = i['chart_data']['visualizer-settings'].title ? i['chart_data']['visualizer-settings'].title : `#${i.id}`; |
| 37 | - if ( 'object' === typeof label ) { | |
| 38 | - label = `#${i.id}`; | |
| 39 | - } | |
| 37 | + | |
| 40 | 38 | if ( 0 === index ) { |
| 41 | 39 | id = i.id; |
| 42 | 40 | } |
| 43 | 41 | |
| @@ -99,9 +97,9 @@ | ||
| 99 | 97 | isPrimary |
| 100 | 98 | href={ visualizerLocalize.proTeaser } |
| 101 | 99 | target="_blank" |
| 102 | 100 | > |
| 103 | - { __( 'Upgrade Now' ) } | |
| 101 | + { __( 'Buy Now' ) } | |
| 104 | 102 | </Button> |
| 105 | 103 | |
| 106 | 104 | </PanelBody> |
| 107 | 105 | ); |