mirror of
https://github.com/alexhopeoconnor/frigate.git
synced 2026-10-14 15:31:32 +10:00
Fix Statusbar rendering NaN% for unsupported GPUs (#11655)
This commit is contained in:
@@ -81,6 +81,10 @@ export default function Statusbar() {
|
||||
|
||||
const gpu = parseInt(stats.gpu);
|
||||
|
||||
if (isNaN(gpu)) {
|
||||
return;
|
||||
}
|
||||
|
||||
return (
|
||||
<Link key={gpuTitle} to="/system#general">
|
||||
{" "}
|
||||
|
||||
Reference in New Issue
Block a user