diff --git a/web/src/views/explore/ExploreView.tsx b/web/src/views/explore/ExploreView.tsx index a05dae5e2..88f6c8b88 100644 --- a/web/src/views/explore/ExploreView.tsx +++ b/web/src/views/explore/ExploreView.tsx @@ -22,6 +22,7 @@ import { SearchTab } from "@/components/overlay/detail/SearchDetailDialog"; import { FrigateConfig } from "@/types/frigateConfig"; import { useTranslation } from "react-i18next"; import { getTranslatedLabel } from "@/utils/i18n"; +import { LuSearchX } from "react-icons/lu"; type ExploreViewProps = { setSearchDetail: (search: SearchResult | undefined) => void; @@ -86,6 +87,15 @@ export default function ExploreView({ ); } + if (eventsByLabel && Object.keys(eventsByLabel).length == 0 && !isLoading) { + return ( +
+ + {t("noTrackedObjects")} +
+ ); + } + return (
{Object.entries(eventsByLabel).map(([label, filteredEvents]) => (