mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-18 14:56:37 +00:00
Keep language/resources on login (#646)
This commit is contained in:
parent
d658beacea
commit
fbc9755796
@ -131,8 +131,11 @@ class HomeAssistant extends Polymer.Element {
|
|||||||
states: null,
|
states: null,
|
||||||
config: null,
|
config: null,
|
||||||
themes: null,
|
themes: null,
|
||||||
language: null,
|
|
||||||
resources: null,
|
// If language and resources are already loaded, don't discard them
|
||||||
|
language: (this.hass && this.hass.language) || null,
|
||||||
|
resources: (this.hass && this.hass.resources) || null,
|
||||||
|
|
||||||
translationMetadata: window.translationMetadata,
|
translationMetadata: window.translationMetadata,
|
||||||
dockedSidebar: false,
|
dockedSidebar: false,
|
||||||
moreInfoEntityId: null,
|
moreInfoEntityId: null,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user