mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 20:36:35 +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,
|
||||
config: 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,
|
||||
dockedSidebar: false,
|
||||
moreInfoEntityId: null,
|
||||
|
Loading…
x
Reference in New Issue
Block a user