Make features disabled by default

So we can then put them in labs on /develop & others can enable
them as desired.
This commit is contained in:
David Baker 2017-10-12 18:45:04 +01:00
parent 047daec587
commit 710c952428

View file

@ -193,7 +193,7 @@ export default {
isFeatureEnabled: function(featureId: string): boolean { isFeatureEnabled: function(featureId: string): boolean {
const featuresConfig = SdkConfig.get()['features']; const featuresConfig = SdkConfig.get()['features'];
let sdkConfigValue = 'labs'; let sdkConfigValue = 'disable';
if (featuresConfig && featuresConfig[featureId] !== undefined) { if (featuresConfig && featuresConfig[featureId] !== undefined) {
sdkConfigValue = featuresConfig[featureId]; sdkConfigValue = featuresConfig[featureId];
} }