Use manfiests to render doc urls (#5549)

* Use manfiests to render doc urls

* Update UI
This commit is contained in:
Paulus Schoutsen
2020-04-15 13:36:25 -07:00
committed by GitHub
parent ff81536463
commit 66f33ad497
4 changed files with 143 additions and 50 deletions

View File

@@ -19,4 +19,6 @@ export const fetchSystemLog = (hass: HomeAssistant) =>
export const getLoggedErrorIntegration = (item: LoggedError) =>
item.name.startsWith("homeassistant.components.")
? item.name.split(".")[2]
: item.name.startsWith("custom_components.")
? item.name.split(".")[1]
: undefined;