1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-24 04:39:01 +00:00

Update where we load integration titles from (#5546)

This commit is contained in:
Paulus Schoutsen
2020-04-15 11:47:29 -07:00
committed by GitHub
parent fc7771ec13
commit ba0cba1a2b
10 changed files with 17 additions and 22 deletions

View File

@@ -62,9 +62,7 @@ class OnboardingIntegrations extends LitElement {
// Render discovered and existing entries together sorted by localized title.
const entries: Array<[string, TemplateResult]> = this._entries.map(
(entry) => {
const title = this.hass.localize(
`component.${entry.domain}.config.title`
);
const title = this.hass.localize(`component.${entry.domain}.title`);
return [
title,
html`