← All changes
|
classes/Visualizer/Gutenberg/src/Components/Import/RemoteImport.js
+1
-17
3.10.0
→
3.3.4
View file →
| @@ -12,13 +12,8 @@ | ||
| 12 | 12 | SelectControl, |
| 13 | 13 | TextControl |
| 14 | 14 | } = wp.components; |
| 15 | 15 | |
| 16 | -/** | |
| 17 | - * Internal dependencies | |
| 18 | - */ | |
| 19 | -import JSONImport from './JSONImport.js'; | |
| 20 | - | |
| 21 | 16 | class RemoteImport extends Component { |
| 22 | 17 | constructor() { |
| 23 | 18 | super( ...arguments ); |
| 24 | 19 | } |
| @@ -110,9 +105,9 @@ | ||
| 110 | 105 | className="visualizer-inner-sections" |
| 111 | 106 | initialOpen={ false } |
| 112 | 107 | > |
| 113 | 108 | |
| 114 | - <p>{ __( 'Upgrade your license to at least the DEVELOPER version to activate this feature!' ) }</p> | |
| 109 | + <p>{ __( 'Enable this feature in BUSINESS version!' ) }</p> | |
| 115 | 110 | |
| 116 | 111 | <Button |
| 117 | 112 | isPrimary |
| 118 | 113 | href={ visualizerLocalize.proTeaser } |
| @@ -122,19 +117,8 @@ | ||
| 122 | 117 | </Button> |
| 123 | 118 | |
| 124 | 119 | </PanelBody> |
| 125 | 120 | } |
| 126 | - | |
| 127 | - <JSONImport | |
| 128 | - id={ this.props.id } | |
| 129 | - chart={ this.props.chart } | |
| 130 | - editSchedule={ this.props.editJSONSchedule } | |
| 131 | - editJSONURL={ this.props.editJSONURL } | |
| 132 | - editJSONHeaders={ this.props.editJSONHeaders } | |
| 133 | - editJSONRoot={ this.props.editJSONRoot } | |
| 134 | - editJSONPaging={ this.props.editJSONPaging } | |
| 135 | - JSONImportData={ this.props.JSONImportData } | |
| 136 | - /> | |
| 137 | 121 | |
| 138 | 122 | </PanelBody> |
| 139 | 123 | ); |
| 140 | 124 | } |