mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45:25 +03:00
Fix Statusbar rendering NaN% for unsupported GPUs
This commit is contained in:
parent
142641b387
commit
ee1894f6b8
@ -97,7 +97,7 @@ export default function Statusbar() {
|
||||
: "text-danger"
|
||||
}`}
|
||||
/>
|
||||
{gpuTitle} {gpu}%
|
||||
{gpuTitle} {isNaN(gpu) ? 'unknown' : `${gpu}%`}
|
||||
</div>
|
||||
</Link>
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user