Fix minor timeline bug for recordings.

This commit is contained in:
Dermot Duffy
2023-02-06 20:35:56 -08:00
parent aa6d990ee8
commit 3d799d6fa6
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -706,7 +706,7 @@ export class FrigateCardTimelineCore extends LitElement {
protected _getPerfectWindowFromMedia(media: ViewMedia): TimelineWindow | null {
const startTime = media.getStartTime();
const endTime = media.getStartTime();
const endTime = media.getEndTime();
if (ViewMediaClassifier.isEvent(media)) {
const windowSeconds = this._getConfiguredWindowSeconds();
-3
View File
@@ -1,6 +1,3 @@
// Gallery:
// - TODO: View a recording from the gallery => timeline should span the hour.
import { ViewContext } from 'view';
import {
FrigateCardUserSpecifiedView,