From a95f3252b8fb4c1658095620050ffd78fd43c630 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 24 May 2017 10:48:10 +0100 Subject: [PATCH] s/tabs/spaces/ --- .../views/elements/LanguageDropdown.js | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/components/views/elements/LanguageDropdown.js b/src/components/views/elements/LanguageDropdown.js index 27ce8efaab..9524b3ff27 100644 --- a/src/components/views/elements/LanguageDropdown.js +++ b/src/components/views/elements/LanguageDropdown.js @@ -43,16 +43,16 @@ export default class LanguageDropdown extends React.Component { } componentWillMount() { - const languageKeys = SdkConfig.get().languages; + const languageKeys = SdkConfig.get().languages; - // Build const LANGUAGES in a way that counterpart allows translation inside object: - languageKeys.forEach(function(languageKey) { - var l = {}; - l.id = "language"; - l.label = _t(languageKey); - l.value = languageKey; - LANGUAGES.push(l); - }); + // Build const LANGUAGES in a way that counterpart allows translation inside object: + languageKeys.forEach(function(languageKey) { + var l = {}; + l.id = "language"; + l.label = _t(languageKey); + l.value = languageKey; + LANGUAGES.push(l); + }); LANGUAGES = LANGUAGES.sort(function(a, b){ if(a.label < b.label) return -1; @@ -60,9 +60,9 @@ export default class LanguageDropdown extends React.Component { return 0; }) - for (const l of LANGUAGES) { - LANGUAGES_BY_VALUE[l.value] = l; - } + for (const l of LANGUAGES) { + LANGUAGES_BY_VALUE[l.value] = l; + } if (!this.props.value) {