Fix removal of badges after yaml dashboard change (#20012)

* Fix badges removed after yaml change

* Remove test code
This commit is contained in:
Simon Lamon 2024-03-07 15:12:56 +01:00 committed by GitHub
parent b55baef985
commit 52c8554d89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -496,8 +496,7 @@ export class HuiDialogEditView extends LitElement {
if (!ev.detail.isValid) {
return;
}
const { badges, ...config } = ev.detail.value;
this._config = config;
this._config = ev.detail.value;
this._dirty = true;
}