Ensure thumbnails show when no nextprev preference is specified.

This commit is contained in:
Dermot Duffy
2021-09-06 18:58:36 -07:00
parent 0e8c75109b
commit 183e68bb76
+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",
}