mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-05 14:47:40 +03:00
chore: lint
This commit is contained in:
parent
928f7b84b4
commit
4be047a19f
@ -159,7 +159,9 @@ export default function CameraInfoDialog({
|
||||
</div>
|
||||
) : (
|
||||
<div className="text-muted-foreground">
|
||||
<div className="ml-2 mt-1">{t("cameras.info.audio")}</div>
|
||||
<div className="ml-2 mt-1">
|
||||
{t("cameras.info.audio")}
|
||||
</div>
|
||||
<div className="ml-4">
|
||||
{t("cameras.info.codec")}{" "}
|
||||
<span className="text-primary">
|
||||
|
||||
@ -548,7 +548,10 @@ export default function GeneralMetrics({
|
||||
Object.entries(stats.processes).forEach(([key, procStats]) => {
|
||||
if (procStats.pid.toString() in stats.cpu_usages) {
|
||||
if (!(key in series)) {
|
||||
series[key] = { name: t(`general.otherProcesses.series.${key}`), data: [] };
|
||||
series[key] = {
|
||||
name: t(`general.otherProcesses.series.${key}`),
|
||||
data: [],
|
||||
};
|
||||
}
|
||||
|
||||
const data = stats.cpu_usages[procStats.pid.toString()]?.cpu;
|
||||
@ -582,7 +585,10 @@ export default function GeneralMetrics({
|
||||
Object.entries(stats.processes).forEach(([key, procStats]) => {
|
||||
if (procStats.pid.toString() in stats.cpu_usages) {
|
||||
if (!(key in series)) {
|
||||
series[key] = { name: t(`general.otherProcesses.series.${key}`), data: [] };
|
||||
series[key] = {
|
||||
name: t(`general.otherProcesses.series.${key}`),
|
||||
data: [],
|
||||
};
|
||||
}
|
||||
|
||||
const data = stats.cpu_usages[procStats.pid.toString()]?.mem;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user