mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 09:16:38 +00:00
Fix diagnostic download not downloading (#21078)
This commit is contained in:
parent
0bb34830f8
commit
0b391eafcf
@ -754,7 +754,7 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) {
|
|||||||
${item.disabled_by && devices.length
|
${item.disabled_by && devices.length
|
||||||
? html`
|
? html`
|
||||||
<ha-menu-item
|
<ha-menu-item
|
||||||
.href=${devices.length === 1
|
href=${devices.length === 1
|
||||||
? `/config/devices/device/${devices[0].id}`
|
? `/config/devices/device/${devices[0].id}`
|
||||||
: `/config/devices/dashboard?historyBack=1&config_entry=${item.entry_id}`}
|
: `/config/devices/dashboard?historyBack=1&config_entry=${item.entry_id}`}
|
||||||
>
|
>
|
||||||
@ -769,7 +769,7 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) {
|
|||||||
: ""}
|
: ""}
|
||||||
${item.disabled_by && services.length
|
${item.disabled_by && services.length
|
||||||
? html`<ha-menu-item
|
? html`<ha-menu-item
|
||||||
.href=${services.length === 1
|
href=${services.length === 1
|
||||||
? `/config/devices/device/${services[0].id}`
|
? `/config/devices/device/${services[0].id}`
|
||||||
: `/config/devices/dashboard?historyBack=1&config_entry=${item.entry_id}`}
|
: `/config/devices/dashboard?historyBack=1&config_entry=${item.entry_id}`}
|
||||||
>
|
>
|
||||||
@ -787,7 +787,7 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) {
|
|||||||
${item.disabled_by && entities.length
|
${item.disabled_by && entities.length
|
||||||
? html`
|
? html`
|
||||||
<ha-menu-item
|
<ha-menu-item
|
||||||
.href=${`/config/entities?historyBack=1&config_entry=${item.entry_id}`}
|
href=${`/config/entities?historyBack=1&config_entry=${item.entry_id}`}
|
||||||
>
|
>
|
||||||
<ha-svg-icon
|
<ha-svg-icon
|
||||||
.path=${mdiShapeOutline}
|
.path=${mdiShapeOutline}
|
||||||
@ -827,7 +827,7 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) {
|
|||||||
${this._diagnosticHandler && item.state === "loaded"
|
${this._diagnosticHandler && item.state === "loaded"
|
||||||
? html`
|
? html`
|
||||||
<ha-menu-item
|
<ha-menu-item
|
||||||
.href=${getConfigEntryDiagnosticsDownloadUrl(item.entry_id)}
|
href=${getConfigEntryDiagnosticsDownloadUrl(item.entry_id)}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
@click=${this._signUrl}
|
@click=${this._signUrl}
|
||||||
>
|
>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user