Skip to content

NVR with realtime local object detection for IP cameras

Fix Statusbar rendering NaN% for unsupported GPUs (#11655)

Tom B35946d332d4d
diff --git a/web/src/components/Statusbar.tsx b/web/src/components/Statusbar.tsx
index 67af68af9d..41bd9372f8 100644
--- a/web/src/components/Statusbar.tsx
+++ b/web/src/components/Statusbar.tsx
@@ -81,6 +81,10 @@ export default function Statusbar() {
const gpu = parseInt(stats.gpu);
+ if (isNaN(gpu)) {
+ return;
+ }
+
return (
<Link key={gpuTitle} to="/system#general">
{" "}