Fix manual backup disabled with all backup locations (#23511)

This commit is contained in:
Simon Lamon 2024-12-30 12:05:00 +01:00 committed by Bram Kragten
parent cf1df712e4
commit 4686808e53

View File

@ -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>