mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 16:56:35 +00:00
Try to fix download of zwave_js logs (#9612)
This commit is contained in:
parent
bf83a9980e
commit
982c940381
@ -131,7 +131,9 @@ class ZWaveJSLogs extends SubscribeMixin(LitElement) {
|
||||
private _downloadLogs() {
|
||||
fileDownload(
|
||||
this,
|
||||
`data:text/plain;charset=utf-8,${encodeURI(this._textarea!.value)}`,
|
||||
`data:text/plain;charset=utf-8,${encodeURIComponent(
|
||||
this._textarea!.value
|
||||
)}`,
|
||||
`zwave_js.log`
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user