Misc fixes (#17871)

* fix check for snapshot score

for manual events, snapScore is 0, so "0" gets displayed instead of a condition being evaluated.

* fix ongoing events from being returned for all review queries

The existing condition will include any record with a null end_time regardless of when it started, as long as the start_time is greater than the after param. With this fix, both the start time needs to be within the specified range, and for events that have already ended, their end time must be before the before param

* Base alert toggles on width not device class

---------

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
This commit is contained in:
Josh Hawkins
2025-04-23 07:06:31 -06:00
committed by GitHub
co-authored by Nicolas Mowen
parent 44d44f87ac
commit b061d083ba
3 changed files with 47 additions and 62 deletions
@@ -792,7 +792,7 @@ function ObjectDetailsTab({
{topScore}%{subLabelScore && ` (${subLabelScore}%)`}
</div>
</div>
{snapScore && (
{snapScore != undefined && (
<div className="flex flex-col gap-1.5">
<div className="text-sm text-primary/40">
<div className="flex flex-row items-center gap-1">