mirror of
https://github.com/home-assistant/frontend.git
synced 2025-10-22 18:19:48 +00:00
Improve onboarding backup restore (#23340)
* Improve onboarding backup restore * Fix onboarding backup restore * Fix restoring value in onboarding-restore-backup
This commit is contained in:
@@ -15,6 +15,7 @@ import { bytesToString } from "../util/bytes-to-string";
|
||||
declare global {
|
||||
interface HASSDomEvents {
|
||||
"file-picked": { files: File[] };
|
||||
"files-cleared": void;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -216,6 +217,7 @@ export class HaFileUpload extends LitElement {
|
||||
this._input!.value = "";
|
||||
this.value = undefined;
|
||||
fireEvent(this, "change");
|
||||
fireEvent(this, "files-cleared");
|
||||
}
|
||||
|
||||
static get styles() {
|
||||
|
Reference in New Issue
Block a user