Skip to content

Commit

Permalink
Use willupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya committed Jan 29, 2025
1 parent f8eef63 commit d60412d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/panels/config/backup/ha-config-backup-location.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class HaConfigBackupDetails extends LitElement {

@state() private _error?: string;

protected updated(changedProps: PropertyValues): void {
protected willUpdate(changedProps: PropertyValues): void {
if (changedProps.has("agentId")) {
if (this.agentId) {
this._fetchAgent();
Expand Down

0 comments on commit d60412d

Please sign in to comment.