mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-02 05:57:54 +00:00
Fix diagnostic download on integration level (#26341)
This commit is contained in:
parent
c6efa1127f
commit
b8000d5bc1
@ -1442,10 +1442,9 @@ export class HaConfigDevicePage extends LitElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private async _signUrl(ev) {
|
private async _signUrl(ev) {
|
||||||
const anchor = ev.currentTarget.closest("a");
|
|
||||||
const signedUrl = await getSignedPath(
|
const signedUrl = await getSignedPath(
|
||||||
this.hass,
|
this.hass,
|
||||||
anchor.getAttribute("href")
|
ev.currentTarget.getAttribute("href")
|
||||||
);
|
);
|
||||||
fileDownload(signedUrl.path);
|
fileDownload(signedUrl.path);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user