diff --git a/web/src/views/events/EventView.tsx b/web/src/views/events/EventView.tsx index b94640e25..e3b36d7af 100644 --- a/web/src/views/events/EventView.tsx +++ b/web/src/views/events/EventView.tsx @@ -243,41 +243,78 @@ export default function EventView({ } // don't allow the severity to be unselected > - - - Alerts - {reviewCounts.alert > -1 ? ( - ` ∙ ${reviewCounts.alert}` - ) : ( - - )} - + {isDesktop ? ( + <> + + + Alerts + {reviewCounts.alert > -1 ? ( + ` ∙ ${reviewCounts.alert}` + ) : ( + + )} + + > + ) : ( + + {reviewCounts.alert > -1 ? ( + reviewCounts.alert + ) : ( + + )} + + )} - - - Detections - {reviewCounts.detection > -1 ? ( - ` ∙ ${reviewCounts.detection}` - ) : ( - - )} - + {isDesktop ? ( + <> + + + Detections + {reviewCounts.detection > -1 ? ( + ` ∙ ${reviewCounts.detection}` + ) : ( + + )} + + > + ) : ( + + {reviewCounts.detection > -1 ? ( + reviewCounts.detection + ) : ( + + )} + + )}