diff --git a/web/src/components/player/PreviewThumbnailPlayer.tsx b/web/src/components/player/PreviewThumbnailPlayer.tsx
index 6c251cf45..c39b281d9 100644
--- a/web/src/components/player/PreviewThumbnailPlayer.tsx
+++ b/web/src/components/player/PreviewThumbnailPlayer.tsx
@@ -183,6 +183,13 @@ function PreviewContent({
if (relevantPreview && !isVisible) {
return
- {relevantPreview ? (
-
- ) : (
-
- {value.camera} {value.data.objects}
+
+ {(severity == "alert" || severity == "detection") && (
+
+ {value.data.objects.map((object) => {
+ return getIconForLabel(object);
+ })}
)}
@@ -211,7 +216,7 @@ export default function Events() {
{lastRow && !isDone &&
}
- >
+
);
});
})}
diff --git a/web/src/utils/iconUtil.tsx b/web/src/utils/iconUtil.tsx
new file mode 100644
index 000000000..5dbfda599
--- /dev/null
+++ b/web/src/utils/iconUtil.tsx
@@ -0,0 +1,22 @@
+import {
+ LuBox,
+ LuCar,
+ LuDog,
+ LuLassoSelect,
+ LuPersonStanding,
+} from "react-icons/lu";
+
+export function getIconForLabel(label: string, className?: string) {
+ switch (label) {
+ case "car":
+ return
;
+ case "dog":
+ return
;
+ case "package":
+ return
;
+ case "person":
+ return
;
+ default:
+ return
;
+ }
+}