Skip to content

Commit f7a1759

Browse files
silamonbramkragten
authored andcommitted
Fix diagnostic download on integration level (#26341)
1 parent 56967bc commit f7a1759

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/panels/config/devices/ha-config-device-page.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,10 +1442,9 @@ export class HaConfigDevicePage extends LitElement {
14421442
}
14431443

14441444
private async _signUrl(ev) {
1445-
const anchor = ev.currentTarget.closest("a");
14461445
const signedUrl = await getSignedPath(
14471446
this.hass,
1448-
anchor.getAttribute("href")
1447+
ev.currentTarget.getAttribute("href")
14491448
);
14501449
fileDownload(signedUrl.path);
14511450
}

0 commit comments

Comments
 (0)