mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-10 11:30:01 +00:00
Render should always return a html template (#4612)
This commit is contained in:
committed by
Paulus Schoutsen
parent
82fb622904
commit
04f8f0f74f
@@ -34,7 +34,7 @@ class HuiScriptEntityRow extends LitElement implements LovelaceRow {
|
||||
return hasConfigOrEntityChanged(this, changedProps);
|
||||
}
|
||||
|
||||
protected render(): TemplateResult | void {
|
||||
protected render(): TemplateResult {
|
||||
if (!this._config || !this.hass) {
|
||||
return html``;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user