Serve latest extra_html in dev mode (#10863)

This commit is contained in:
Andrey 2017-12-01 22:53:15 +02:00 committed by Paulus Schoutsen
parent c2525782aa
commit 8afeef2f36

View File

@ -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'