mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Fix manual backup disabled with all backup locations (#23511)
This commit is contained in:
parent
cf1df712e4
commit
4686808e53
@ -200,7 +200,8 @@ class DialogGenerateBackup extends LitElement implements HassDialog {
|
|||||||
? html`
|
? html`
|
||||||
<ha-button
|
<ha-button
|
||||||
@click=${this._submit}
|
@click=${this._submit}
|
||||||
.disabled=${!selectedAgents.length}
|
.disabled=${this._formData.agents_mode === "custom" &&
|
||||||
|
!selectedAgents.length}
|
||||||
>
|
>
|
||||||
Create backup
|
Create backup
|
||||||
</ha-button>
|
</ha-button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user