Merge pull request #1472 from matrix-org/dbkr/labs_really_disabled_by_default

Don't show labs features by default
This commit is contained in:
David Baker 2017-10-13 11:53:38 +01:00 committed by GitHub
commit 5292b0dba9

View file

@ -38,7 +38,8 @@ export default {
return FEATURES.filter((f) => { return FEATURES.filter((f) => {
const sdkConfigValue = featuresConfig[f.id]; const sdkConfigValue = featuresConfig[f.id];
if (!['enable', 'disable'].includes(sdkConfigValue)) {
if (sdkConfigValue === 'labs') {
return true; return true;
} }
}).map((f) => { }).map((f) => {