mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fix removal of badges after yaml dashboard change (#20012)
* Fix badges removed after yaml change * Remove test code
This commit is contained in:
parent
db48c5a6a3
commit
0ae1f11ffc
@ -493,8 +493,7 @@ export class HuiDialogEditView extends LitElement {
|
|||||||
if (!ev.detail.isValid) {
|
if (!ev.detail.isValid) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const { badges, ...config } = ev.detail.value;
|
this._config = ev.detail.value;
|
||||||
this._config = config;
|
|
||||||
this._dirty = true;
|
this._dirty = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user