mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-15 13:26:34 +00:00
Update dialog-add-integration.ts (#18615)
This commit is contained in:
parent
f5edee1e91
commit
e94461f7fe
@ -570,7 +570,7 @@ class AddIntegrationDialog extends LitElement {
|
||||
}
|
||||
|
||||
if (
|
||||
["cloud", "google_assistant", "alexa"].includes(integration.domain) &&
|
||||
integration.domain === "cloud" &&
|
||||
isComponentLoaded(this.hass, "cloud")
|
||||
) {
|
||||
this.closeDialog();
|
||||
@ -578,6 +578,15 @@ class AddIntegrationDialog extends LitElement {
|
||||
return;
|
||||
}
|
||||
|
||||
if (
|
||||
["google_assistant", "alexa"].includes(integration.domain) &&
|
||||
isComponentLoaded(this.hass, "cloud")
|
||||
) {
|
||||
this.closeDialog();
|
||||
navigate("/config/voice-assistants/assistants");
|
||||
return;
|
||||
}
|
||||
|
||||
const manifest = await fetchIntegrationManifest(
|
||||
this.hass,
|
||||
integration.domain
|
||||
|
Loading…
x
Reference in New Issue
Block a user