Address build type issue.
This commit is contained in:
1 parent
0f8a84809f
commit
e47b3b75ea
1 file changed
+1
-1
@@ -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 || {});
|
||||
|
||||
Reference in new issue
Block a user