Always show backup location retention settings (#25261)

Always show backup location retention settings
This commit is contained in:
Jan-Philipp Benecke 2025-05-01 19:02:55 +02:00 committed by GitHub
parent ebc16d6520
commit dddba58d38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -118,8 +118,7 @@ class HaConfigBackupDetails extends LitElement {
</p>
</div>
`
: this.config?.agents[this.agentId]
? html`<ha-backup-config-retention
: html`<ha-backup-config-retention
location-specific
.headline=${this.hass.localize(
`ui.panel.config.backup.location.retention_for_${isLocalAgent(this.agentId) ? "this_system" : "location"}`,
@ -129,8 +128,7 @@ class HaConfigBackupDetails extends LitElement {
.retention=${this.config?.agents[this.agentId]
?.retention}
@value-changed=${this._retentionChanged}
></ha-backup-config-retention>`
: nothing}
></ha-backup-config-retention>`}
</ha-card>
<ha-card>
<div class="card-header">