mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 11:16:35 +00:00
Always show backup location retention settings (#25261)
Always show backup location retention settings
This commit is contained in:
parent
ebc16d6520
commit
dddba58d38
@ -118,8 +118,7 @@ class HaConfigBackupDetails extends LitElement {
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
: this.config?.agents[this.agentId]
|
: html`<ha-backup-config-retention
|
||||||
? html`<ha-backup-config-retention
|
|
||||||
location-specific
|
location-specific
|
||||||
.headline=${this.hass.localize(
|
.headline=${this.hass.localize(
|
||||||
`ui.panel.config.backup.location.retention_for_${isLocalAgent(this.agentId) ? "this_system" : "location"}`,
|
`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=${this.config?.agents[this.agentId]
|
||||||
?.retention}
|
?.retention}
|
||||||
@value-changed=${this._retentionChanged}
|
@value-changed=${this._retentionChanged}
|
||||||
></ha-backup-config-retention>`
|
></ha-backup-config-retention>`}
|
||||||
: nothing}
|
|
||||||
</ha-card>
|
</ha-card>
|
||||||
<ha-card>
|
<ha-card>
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user