Various tweaks (#17978)

* Fix NPU stats

* Add global camera specific h265 note

* Update record docs for apple compatibility

* remove

* Remove non-in progress requirement
This commit is contained in:
Nicolas Mowen
2025-04-30 19:11:45 -05:00
committed by GitHub
parent d0de6f8326
commit 45e91b3664
4 changed files with 18 additions and 4 deletions
-1
View File
@@ -127,7 +127,6 @@ export default function Explore() {
limit:
Object.keys(searchSearchParams).length == 0 ? API_LIMIT : undefined,
timezone,
in_progress: 0,
include_thumbnails: 0,
},
];
+3 -3
View File
@@ -391,7 +391,7 @@ export default function GeneralMetrics({
series[key] = { name: key, data: [] };
}
if (stats.npu) {
if (stats?.npu) {
hasValidNpu = true;
series[key].data.push({ x: statsIdx + 1, y: stats.npu });
}
@@ -585,8 +585,8 @@ export default function GeneralMetrics({
</div>
{(statsHistory.length == 0 ||
statsHistory[0].gpu_usages ||
statsHistory[0].npu_usages) && (
gpuSeries.length > 0 ||
npuSeries.length > 0) && (
<>
<div className="mt-4 flex items-center justify-between">
<div className="text-sm font-medium text-muted-foreground">