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:
commit
5292b0dba9
1 changed files with 2 additions and 1 deletions
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in a new issue