Initial editor support.

This commit is contained in:
Dermot Duffy
2022-01-14 21:31:16 -08:00
parent b03c8b4020
commit c40c63862e
10 changed files with 417 additions and 120 deletions
+2 -2
View File
@@ -429,8 +429,8 @@ export class FrigateCard extends LitElement {
}
};
if (this.config.camera && Array.isArray(this.config.camera)) {
await Promise.all(this.config.camera.map(addCameraConfig.bind(this)));
if (this.config.cameras && Array.isArray(this.config.cameras)) {
await Promise.all(this.config.cameras.map(addCameraConfig.bind(this)));
}
if (!cameras.size) {