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:05:51 -06:00 committed by GitHub
parent bc2ad7f9be
commit 1073597e86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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