mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-16 13:56:35 +00:00
fix brand discovery
This commit is contained in:
parent
3bdc5ad420
commit
72ed6fdd6b
@ -504,7 +504,9 @@ class AddIntegrationDialog extends LitElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (integration.integrations) {
|
if (integration.integrations) {
|
||||||
this._fetchFlowsInProgress(Object.keys(integration.integrations));
|
const integrations =
|
||||||
|
this._integrations![integration.domain].integrations!;
|
||||||
|
this._fetchFlowsInProgress(Object.keys(integrations));
|
||||||
this._pickedBrand = integration.domain;
|
this._pickedBrand = integration.domain;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -32,7 +32,7 @@ class HaDomainIntegrations extends LitElement {
|
|||||||
public flowsInProgress?: DataEntryFlowProgress[];
|
public flowsInProgress?: DataEntryFlowProgress[];
|
||||||
|
|
||||||
protected render() {
|
protected render() {
|
||||||
return html`
|
return html`<mwc-list>
|
||||||
${this.flowsInProgress?.length
|
${this.flowsInProgress?.length
|
||||||
? html`<h3>We discovered the following:</h3>
|
? html`<h3>We discovered the following:</h3>
|
||||||
${this.flowsInProgress.map(
|
${this.flowsInProgress.map(
|
||||||
@ -174,7 +174,7 @@ class HaDomainIntegrations extends LitElement {
|
|||||||
>
|
>
|
||||||
</ha-integration-list-item>`}`
|
</ha-integration-list-item>`}`
|
||||||
: ""}
|
: ""}
|
||||||
`;
|
</mwc-list> `;
|
||||||
}
|
}
|
||||||
|
|
||||||
private async _integrationPicked(ev) {
|
private async _integrationPicked(ev) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user