mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 02:49:51 +00:00
Render should always return a html template (#4612)
This commit is contained in:
committed by
Paulus Schoutsen
parent
82fb622904
commit
04f8f0f74f
@@ -42,7 +42,7 @@ class HaCameraStream extends LitElement {
|
||||
this._attached = false;
|
||||
}
|
||||
|
||||
protected render(): TemplateResult | void {
|
||||
protected render(): TemplateResult {
|
||||
if (!this.stateObj || !this._attached) {
|
||||
return html``;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user