diff --git a/web/src/components/timeline/DetailStream.tsx b/web/src/components/timeline/DetailStream.tsx index 65659bd90..f51db1e2b 100644 --- a/web/src/components/timeline/DetailStream.tsx +++ b/web/src/components/timeline/DetailStream.tsx @@ -525,11 +525,10 @@ function LifecycleItem({ const { t } = useTranslation("views/events"); const { data: config } = useSWR("config"); - - event.data.zones_friendly_names = event?.data?.zones?.map((zone) => { + item.data.zones_friendly_names = item?.data?.zones?.map((zone) => { return resolveZoneName(config, zone); }); - + const aspectRatio = useMemo(() => { if (!config || !item?.camera) { return 16 / 9;