diff --git a/web/src/views/events/EventView.tsx b/web/src/views/events/EventView.tsx index a0d904d357..4ce7fcad43 100644 --- a/web/src/views/events/EventView.tsx +++ b/web/src/views/events/EventView.tsx @@ -279,32 +279,29 @@ export default function EventView({ value="alert" aria-label={t("alerts")} > - {isMobileOnly ? ( -
+
+ {reviewCounts.alert > -1 ? ( + reviewCounts.alert + ) : ( + + )} +
+
+ +
+ {t("alerts")} {reviewCounts.alert > -1 ? ( - reviewCounts.alert + ` ∙ ${reviewCounts.alert}` ) : ( - + )}
- ) : ( - <> - -
- {t("alerts")} - {reviewCounts.alert > -1 ? ( - ` ∙ ${reviewCounts.alert}` - ) : ( - - )} -
- - )} +
- {isMobileOnly ? ( -
+
+ {reviewCounts.detection > -1 ? ( + reviewCounts.detection + ) : ( + + )} +
+
+ +
+ {t("detections")} {reviewCounts.detection > -1 ? ( - reviewCounts.detection + ` ∙ ${reviewCounts.detection}` ) : ( - + )}
- ) : ( - <> - -
- {t("detections")} - {reviewCounts.detection > -1 ? ( - ` ∙ ${reviewCounts.detection}` - ) : ( - - )} -
- - )} +
- {isMobileOnly ? ( - - ) : ( - <> - -
{t("motion.label")}
- - )} + +
+ +
{t("motion.label")}
+