diff --git a/web/src/components/image/EventThumbnail.tsx b/web/src/components/image/EventThumbnail.tsx index 6b5e36275..702e17190 100644 --- a/web/src/components/image/EventThumbnail.tsx +++ b/web/src/components/image/EventThumbnail.tsx @@ -1,6 +1,7 @@ import { baseUrl } from "@/api/baseUrl"; import { Event as FrigateEvent } from "@/types/event"; import { LuStar } from "react-icons/lu"; +import TimeAgo from "../dynamic/TimeAgo"; type EventThumbnailProps = { event: FrigateEvent; @@ -9,16 +10,19 @@ type EventThumbnailProps = { export function EventThumbnail({ event, onFavorite }: EventThumbnailProps) { return (
(onFavorite ? onFavorite(e, event) : null)} fill={event.retain_indefinitely ? "currentColor" : "none"} /> +
+ +
); }