Tweaks fixes (#10311)

* Save numbers as int instead of string

* Fix hover logic

* Fix delay for new alerts

* Fixup dialog and marking item as uploaded

* Make preview progress larger and easier to grab

* Allow hovering to control preview on desktop
This commit is contained in:
Nicolas Mowen
2024-03-07 07:34:11 -07:00
committed by GitHub
parent b2931bcaa9
commit 8776cdfd5b
5 changed files with 139 additions and 70 deletions

View File

@@ -43,7 +43,7 @@ export default function LiveDashboardView({
// if event is ended and was saved, update events list
if (eventUpdate.type == "end" && eventUpdate.review.severity == "alert") {
updateEvents();
setTimeout(() => updateEvents(), 1000);
return;
}
}, [eventUpdate, updateEvents]);