Update web/src/views/system/GeneralMetrics.tsx

Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
This commit is contained in:
Nicolas Mowen 2024-10-07 20:06:12 -06:00 committed by GitHub
parent 1073597e86
commit 59a72ecfc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -618,7 +618,7 @@ export default function GeneralMetrics({
)} )}
{statsHistory.length != 0 ? ( {statsHistory.length != 0 ? (
<> <>
{gpuDecSeries && ( {gpuDecSeries && gpuDecSeries?.length != 0 && (
<div className="rounded-lg bg-background_alt p-2.5 md:rounded-2xl"> <div className="rounded-lg bg-background_alt p-2.5 md:rounded-2xl">
<div className="mb-5">GPU Decoder</div> <div className="mb-5">GPU Decoder</div>
{gpuDecSeries.map((series) => ( {gpuDecSeries.map((series) => (