mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Serve latest extra_html in dev mode (#10863)
This commit is contained in:
parent
c2525782aa
commit
8afeef2f36
@ -476,7 +476,8 @@ class IndexView(HomeAssistantView):
|
||||
def get(self, request, extra=None):
|
||||
"""Serve the index view."""
|
||||
hass = request.app['hass']
|
||||
latest = _is_latest(self.js_option, request)
|
||||
latest = self.repo_path is not None or \
|
||||
_is_latest(self.js_option, request)
|
||||
|
||||
if request.path == '/':
|
||||
panel = 'states'
|
||||
|
Loading…
x
Reference in New Issue
Block a user