mirror of https://github.com/vector-im/riot-web
fix typos
parent
c73ef2f83b
commit
fb96f4fac2
|
@ -40,7 +40,7 @@ export default {
|
||||||
getLabsFeatures() {
|
getLabsFeatures() {
|
||||||
const featuresConfig = SdkConfig.get()['features'] || {};
|
const featuresConfig = SdkConfig.get()['features'] || {};
|
||||||
|
|
||||||
// The old flag: honourned for backwards compat
|
// The old flag: honoured for backwards compatibility
|
||||||
const enableLabs = SdkConfig.get()['enableLabs'];
|
const enableLabs = SdkConfig.get()['enableLabs'];
|
||||||
|
|
||||||
let labsFeatures;
|
let labsFeatures;
|
||||||
|
@ -217,7 +217,7 @@ export default {
|
||||||
isFeatureEnabled: function(featureId: string): boolean {
|
isFeatureEnabled: function(featureId: string): boolean {
|
||||||
const featuresConfig = SdkConfig.get()['features'];
|
const featuresConfig = SdkConfig.get()['features'];
|
||||||
|
|
||||||
// The old flag: honourned for backwards compat
|
// The old flag: honoured for backwards compatibility
|
||||||
const enableLabs = SdkConfig.get()['enableLabs'];
|
const enableLabs = SdkConfig.get()['enableLabs'];
|
||||||
|
|
||||||
let sdkConfigValue = enableLabs ? 'labs' : 'disable';
|
let sdkConfigValue = enableLabs ? 'labs' : 'disable';
|
||||||
|
|
Loading…
Reference in New Issue