Refresh snapshots on first update ()

This commit is contained in:
Joakim Sørensen
2020-09-15 13:20:17 +02:00
committed by GitHub
parent d5cd288fe8
commit 9c80776d8c

@@ -242,7 +242,7 @@ class HassioSnapshots extends LitElement {
protected firstUpdated(changedProps: PropertyValues) { protected firstUpdated(changedProps: PropertyValues) {
super.firstUpdated(changedProps); super.firstUpdated(changedProps);
this._updateSnapshots(); this.refreshData();
} }
protected updated(changedProps: PropertyValues) { protected updated(changedProps: PropertyValues) {