Various small fixes and documentation updates.
This commit is contained in:
@@ -59,7 +59,7 @@ export class FrigateCardThumbnailCarousel extends LitElement {
|
||||
@property({ attribute: false })
|
||||
public config?: ThumbnailsControlConfig;
|
||||
|
||||
@property({ attribute: false, type: Number, reflect: true })
|
||||
@property({ attribute: true, type: Number, reflect: true })
|
||||
public selected?: number;
|
||||
|
||||
protected _carouselOptions?: EmblaOptionsType;
|
||||
|
||||
@@ -730,10 +730,10 @@ export class FrigateCardTimelineCore extends LitElement {
|
||||
})
|
||||
.mergeInContext(context)
|
||||
.dispatchChangeEvent(this);
|
||||
if (this.view.is('timeline')) {
|
||||
if (!this.view.isViewerView()) {
|
||||
dispatchFrigateCardEvent(this, 'thumbnails:open');
|
||||
}
|
||||
} else if (this.view.is('timeline')) {
|
||||
} else if (!this.view.isViewerView()) {
|
||||
dispatchFrigateCardEvent(this, 'thumbnails:close');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user