Add cheaper progress indicator.

This commit is contained in:
Dermot Duffy
2022-10-05 21:42:38 -07:00
parent 3566011d63
commit cae49e6dce
10 changed files with 96 additions and 22 deletions
+5 -1
View File
@@ -11,6 +11,7 @@ import { customElement, property } from 'lit/decorators.js';
import galleryStyle from '../scss/gallery.scss';
import {
CameraConfig,
CardWideConfig,
ExtendedHomeAssistant,
frigateCardConfigDefaults,
GalleryConfig,
@@ -46,6 +47,9 @@ export class FrigateCardGallery extends LitElement {
@property({ attribute: false })
public dataManager?: DataManager;
@property({ attribute: false })
public cardWideConfig?: CardWideConfig;
/**
* Master render method.
* @returns A rendered template.
@@ -96,7 +100,7 @@ export class FrigateCardGallery extends LitElement {
browseMediaQueryParameters,
);
}
return renderProgressIndicator();
return renderProgressIndicator({cardWideConfig: this.cardWideConfig});
}
return html`