Address build type issue.

This commit is contained in:
Dermot Duffy
2021-08-27 20:52:00 -07:00
parent 0f8a84809f
commit e47b3b75ea
+1 -1
View File
@@ -322,7 +322,7 @@ export class FrigateCard extends LitElement {
if (config.live_provider == 'webrtc') {
// Create a WebRTC element (https://github.com/AlexxIT/WebRTC)
const webrtcElement = customElements.get('webrtc-camera');
const webrtcElement = customElements.get('webrtc-camera') as any;
if (webrtcElement) {
const webrtc = new webrtcElement();
webrtc.setConfig(config.webrtc || {});