mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Clear template result when template changes (#17849)
This commit is contained in:
parent
850699ea70
commit
4a6539d75b
@ -340,6 +340,7 @@ class HaPanelDevTemplate extends LitElement {
|
|||||||
private async _subscribeTemplate() {
|
private async _subscribeTemplate() {
|
||||||
this._rendering = true;
|
this._rendering = true;
|
||||||
await this._unsubscribeTemplate();
|
await this._unsubscribeTemplate();
|
||||||
|
this._templateResult = undefined;
|
||||||
try {
|
try {
|
||||||
this._unsubRenderTemplate = subscribeRenderTemplate(
|
this._unsubRenderTemplate = subscribeRenderTemplate(
|
||||||
this.hass.connection,
|
this.hass.connection,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user