Fix missing addon list when creating partial snapshot (#8176)

This commit is contained in:
Joakim Sørensen 2021-01-17 17:34:14 +01:00 committed by GitHub
parent 16e7a16d12
commit 08c1b864fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -264,7 +264,7 @@ class HassioSnapshots extends LitElement {
} }
protected updated(changedProps: PropertyValues) { protected updated(changedProps: PropertyValues) {
if (changedProps.has("supervisorInfo")) { if (changedProps.has("supervisor")) {
this._addonList = this.supervisor.supervisor.addons this._addonList = this.supervisor.supervisor.addons
.map((addon) => ({ .map((addon) => ({
slug: addon.slug, slug: addon.slug,