mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-15 21:36:36 +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) {
|
||||
this._fetchFlowsInProgress(Object.keys(integration.integrations));
|
||||
const integrations =
|
||||
this._integrations![integration.domain].integrations!;
|
||||
this._fetchFlowsInProgress(Object.keys(integrations));
|
||||
this._pickedBrand = integration.domain;
|
||||
return;
|
||||
}
|
||||
|
@ -32,7 +32,7 @@ class HaDomainIntegrations extends LitElement {
|
||||
public flowsInProgress?: DataEntryFlowProgress[];
|
||||
|
||||
protected render() {
|
||||
return html`
|
||||
return html`<mwc-list>
|
||||
${this.flowsInProgress?.length
|
||||
? html`<h3>We discovered the following:</h3>
|
||||
${this.flowsInProgress.map(
|
||||
@ -174,7 +174,7 @@ class HaDomainIntegrations extends LitElement {
|
||||
>
|
||||
</ha-integration-list-item>`}`
|
||||
: ""}
|
||||
`;
|
||||
</mwc-list> `;
|
||||
}
|
||||
|
||||
private async _integrationPicked(ev) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user