mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-11 03:16:34 +00:00
Enable language selection in config panel (#506)
This commit is contained in:
parent
41fed4f1b0
commit
780b58c210
@ -106,9 +106,7 @@ class HaConfigCore extends Polymer.Element {
|
|||||||
}
|
}
|
||||||
|
|
||||||
computeIsTranslationLoaded(hass) {
|
computeIsTranslationLoaded(hass) {
|
||||||
// Return false to hide language selection until i18n is ready to be
|
return hass.translationMetadata &&
|
||||||
// deployed.
|
|
||||||
return false && hass.translationMetadata &&
|
|
||||||
Object.keys(hass.translationMetadata).length;
|
Object.keys(hass.translationMetadata).length;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user