From cd64c9bcbbd171c8cf0784d148e174d719837150 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 13 Oct 2017 11:48:44 +0100 Subject: [PATCH] Don't show labs features by default Previous PR disabled them but still showed the (broken) option --- src/UserSettingsStore.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/UserSettingsStore.js b/src/UserSettingsStore.js index 1071448b5b..0acc6e5634 100644 --- a/src/UserSettingsStore.js +++ b/src/UserSettingsStore.js @@ -38,7 +38,8 @@ export default { return FEATURES.filter((f) => { const sdkConfigValue = featuresConfig[f.id]; - if (!['enable', 'disable'].includes(sdkConfigValue)) { + + if (sdkConfigValue === 'labs') { return true; } }).map((f) => {