aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/settings/services/EditServiceForm.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/settings/services/EditServiceForm.js')
-rw-r--r--src/components/settings/services/EditServiceForm.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/settings/services/EditServiceForm.js b/src/components/settings/services/EditServiceForm.js
index c089a1582..5cde0db8e 100644
--- a/src/components/settings/services/EditServiceForm.js
+++ b/src/components/settings/services/EditServiceForm.js
@@ -130,8 +130,8 @@ export default @observer class EditServiceForm extends Component {
130 isSaving: PropTypes.bool.isRequired, 130 isSaving: PropTypes.bool.isRequired,
131 isDeleting: PropTypes.bool.isRequired, 131 isDeleting: PropTypes.bool.isRequired,
132 isProxyFeatureEnabled: PropTypes.bool.isRequired, 132 isProxyFeatureEnabled: PropTypes.bool.isRequired,
133 isProxyPremiumFeature: PropTypes.bool.isRequired, 133 isServiceProxyIncludedInCurrentPlan: PropTypes.bool.isRequired,
134 isSpellcheckerPremiumFeature: PropTypes.bool.isRequired, 134 isSpellcheckerIncludedInCurrentPlan: PropTypes.bool.isRequired,
135 }; 135 };
136 136
137 static defaultProps = { 137 static defaultProps = {
@@ -194,8 +194,8 @@ export default @observer class EditServiceForm extends Component {
194 isDeleting, 194 isDeleting,
195 onDelete, 195 onDelete,
196 isProxyFeatureEnabled, 196 isProxyFeatureEnabled,
197 isProxyPremiumFeature, 197 isServiceProxyIncludedInCurrentPlan,
198 isSpellcheckerPremiumFeature, 198 isSpellcheckerIncludedInCurrentPlan,
199 } = this.props; 199 } = this.props;
200 const { intl } = this.context; 200 const { intl } = this.context;
201 201
@@ -345,7 +345,7 @@ export default @observer class EditServiceForm extends Component {
345 </div> 345 </div>
346 346
347 <PremiumFeatureContainer 347 <PremiumFeatureContainer
348 condition={isSpellcheckerPremiumFeature} 348 condition={!isSpellcheckerIncludedInCurrentPlan}
349 gaEventInfo={{ category: 'User', event: 'upgrade', label: 'spellchecker' }} 349 gaEventInfo={{ category: 'User', event: 'upgrade', label: 'spellchecker' }}
350 > 350 >
351 <div className="settings__settings-group"> 351 <div className="settings__settings-group">
@@ -355,7 +355,7 @@ export default @observer class EditServiceForm extends Component {
355 355
356 {isProxyFeatureEnabled && ( 356 {isProxyFeatureEnabled && (
357 <PremiumFeatureContainer 357 <PremiumFeatureContainer
358 condition={isProxyPremiumFeature} 358 condition={!isServiceProxyIncludedInCurrentPlan}
359 gaEventInfo={{ category: 'User', event: 'upgrade', label: 'proxy' }} 359 gaEventInfo={{ category: 'User', event: 'upgrade', label: 'proxy' }}
360 > 360 >
361 <div className="settings__settings-group"> 361 <div className="settings__settings-group">