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:
@@ -737,7 +737,9 @@ export class FrigateCard extends LitElement {
|
|||||||
'frigate-media-controls': true,
|
'frigate-media-controls': true,
|
||||||
previous: previous,
|
previous: previous,
|
||||||
next: !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",
|
chevrons: this.config.controls?.nextprev === "chevrons",
|
||||||
button: this.config.controls?.nextprev === "chevrons",
|
button: this.config.controls?.nextprev === "chevrons",
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user