mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-16 18:16:44 +03:00
fix: fix variable error
This commit is contained in:
parent
47577f6962
commit
81ca1da13d
@ -525,8 +525,7 @@ function LifecycleItem({
|
||||
const { t } = useTranslation("views/events");
|
||||
const { data: config } = useSWR<FrigateConfig>("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);
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user