mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-22 23:11:12 +02:00
Don't show labs features by default
Previous PR disabled them but still showed the (broken) option
This commit is contained in:
parent
f5f0c7e715
commit
cd64c9bcbb
@ -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…
x
Reference in New Issue
Block a user