Fix minor timeline bug for recordings.
This commit is contained in:
@@ -706,7 +706,7 @@ export class FrigateCardTimelineCore extends LitElement {
|
|||||||
|
|
||||||
protected _getPerfectWindowFromMedia(media: ViewMedia): TimelineWindow | null {
|
protected _getPerfectWindowFromMedia(media: ViewMedia): TimelineWindow | null {
|
||||||
const startTime = media.getStartTime();
|
const startTime = media.getStartTime();
|
||||||
const endTime = media.getStartTime();
|
const endTime = media.getEndTime();
|
||||||
|
|
||||||
if (ViewMediaClassifier.isEvent(media)) {
|
if (ViewMediaClassifier.isEvent(media)) {
|
||||||
const windowSeconds = this._getConfiguredWindowSeconds();
|
const windowSeconds = this._getConfiguredWindowSeconds();
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
// Gallery:
|
|
||||||
// - TODO: View a recording from the gallery => timeline should span the hour.
|
|
||||||
|
|
||||||
import { ViewContext } from 'view';
|
import { ViewContext } from 'view';
|
||||||
import {
|
import {
|
||||||
FrigateCardUserSpecifiedView,
|
FrigateCardUserSpecifiedView,
|
||||||
|
|||||||
Reference in New Issue
Block a user