Skip to content

Commit

Permalink
Fix manual backup disabled with all backup locations (#23511)
Browse files Browse the repository at this point in the history
  • Loading branch information
silamon authored Dec 30, 2024
1 parent f013884 commit 4bf0a23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/panels/config/backup/dialogs/dialog-generate-backup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ class DialogGenerateBackup extends LitElement implements HassDialog {
? html`
<ha-button
@click=${this._submit}
.disabled=${!selectedAgents.length}
.disabled=${this._formData.agents_mode === "custom" &&
!selectedAgents.length}
>
Create backup
</ha-button>
Expand Down

0 comments on commit 4bf0a23

Please sign in to comment.