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 Bram Kragten
parent db48c5a6a3
commit 0ae1f11ffc

View File

@ -493,8 +493,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;
}