Merge pull request #63 from dermotduffy/wrong-next-prev

Ensure thumbnails show when no next/previous control preference is specified
This commit is contained in:
Dermot Duffy
2021-09-06 19:00:56 -07:00
committed by GitHub
+3 -1
View File
@@ -737,7 +737,9 @@ export class FrigateCard extends LitElement {
'frigate-media-controls': true,
previous: previous,
next: !previous,
thumbnails: this.config.controls?.nextprev === "thumbnails",
thumbnails: (
!this.config.controls?.nextprev ||
this.config.controls?.nextprev === "thumbnails"),
chevrons: this.config.controls?.nextprev === "chevrons",
button: this.config.controls?.nextprev === "chevrons",
}