Enable language selection in config panel (#506)

This commit is contained in:
Adam Mills 2017-10-27 00:32:12 -04:00 committed by Paulus Schoutsen
parent 41fed4f1b0
commit 780b58c210

View File

@ -106,9 +106,7 @@ class HaConfigCore extends Polymer.Element {
}
computeIsTranslationLoaded(hass) {
// Return false to hide language selection until i18n is ready to be
// deployed.
return false && hass.translationMetadata &&
return hass.translationMetadata &&
Object.keys(hass.translationMetadata).length;
}