Minor tidyup.
This commit is contained in:
@@ -65,10 +65,6 @@ export class FrigateCardViewer extends LitElement {
|
|||||||
@property({ attribute: false })
|
@property({ attribute: false })
|
||||||
protected lazyLoad?: boolean;
|
protected lazyLoad?: boolean;
|
||||||
|
|
||||||
protected render(): TemplateResult | void {
|
|
||||||
return html`${until(this._render(), renderProgressIndicator())}`;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Resolve all the given media for a target.
|
* Resolve all the given media for a target.
|
||||||
* @param target The target to resolve media from.
|
* @param target The target to resolve media from.
|
||||||
@@ -94,6 +90,10 @@ export class FrigateCardViewer extends LitElement {
|
|||||||
return errorFree;
|
return errorFree;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected render(): TemplateResult | void {
|
||||||
|
return html`${until(this._render(), renderProgressIndicator())}`;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Asyncronously render the element.
|
* Asyncronously render the element.
|
||||||
* @returns A template to render.
|
* @returns A template to render.
|
||||||
|
|||||||
Reference in New Issue
Block a user