From 90db27bdb7d12ad6c7d89efe78f0605d92bd2896 Mon Sep 17 00:00:00 2001 From: vantezzen Date: Sat, 7 Sep 2019 16:18:56 +0200 Subject: Enable proxy and spell checker --- src/features/spellchecker/index.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/features/spellchecker') diff --git a/src/features/spellchecker/index.js b/src/features/spellchecker/index.js index a07f9f63a..1f425065f 100644 --- a/src/features/spellchecker/index.js +++ b/src/features/spellchecker/index.js @@ -12,16 +12,16 @@ export default function init(stores) { debug('Initializing `spellchecker` feature'); autorun(() => { - const { isSpellcheckerIncludedInCurrentPlan } = stores.features.features; + // const { isSpellcheckerIncludedInCurrentPlan } = stores.features.features; - config.isIncludedInCurrentPlan = isSpellcheckerIncludedInCurrentPlan !== undefined ? isSpellcheckerIncludedInCurrentPlan : DEFAULT_FEATURES_CONFIG.isSpellcheckerIncludedInCurrentPlan; + // config.isIncludedInCurrentPlan = isSpellcheckerIncludedInCurrentPlan !== undefined ? isSpellcheckerIncludedInCurrentPlan : DEFAULT_FEATURES_CONFIG.isSpellcheckerIncludedInCurrentPlan; - if (!stores.user.data.isPremium && config.isIncludedInCurrentPlan && stores.settings.app.enableSpellchecking) { - debug('Override settings.spellcheckerEnabled flag to false'); + // if (!stores.user.data.isPremium && config.isIncludedInCurrentPlan && stores.settings.app.enableSpellchecking) { + // debug('Override settings.spellcheckerEnabled flag to false'); - Object.assign(stores.settings.app, { - enableSpellchecking: false, - }); - } + // Object.assign(stores.settings.app, { + // enableSpellchecking: false, + // }); + // } }); } -- cgit v1.2.3-54-g00ecf