diff --git a/src/frigate-hass-card.ts b/src/frigate-hass-card.ts index bb3c9b44..3510c528 100644 --- a/src/frigate-hass-card.ts +++ b/src/frigate-hass-card.ts @@ -512,7 +512,7 @@ export class FrigateCard extends LitElement { icon: string, message: string | TemplateResult | null = null, ): TemplateResult { - return html`
+ return html`
${message ? html` ${message}` : ''} @@ -737,12 +737,12 @@ export class FrigateCard extends LitElement { 'frigate-media-controls': true, previous: previous, next: !previous, - thumbnails: ( + thumbnails: !this.config.controls?.nextprev || - this.config.controls?.nextprev === "thumbnails"), - chevrons: this.config.controls?.nextprev === "chevrons", - button: this.config.controls?.nextprev === "chevrons", - } + this.config.controls?.nextprev === 'thumbnails', + chevrons: this.config.controls?.nextprev === 'chevrons', + button: this.config.controls?.nextprev === 'chevrons', + }; const clickChangeView = () => { this._view = new View({ @@ -751,7 +751,7 @@ export class FrigateCard extends LitElement { childIndex: targetChildIndex, previous: this._view, }); - } + }; if (this.config.controls?.nextprev == 'chevrons') { return html` ` : html`