@@ -129,7 +129,7 @@ export default function Statusbar() {
const message = (
+
+
+
+ Account
+
+
+
+
+
+
+
+ Current User: {profile?.username || "anonymous"}
+
+
+
+
+
+
);
}
diff --git a/web/src/components/menu/GeneralSettings.tsx b/web/src/components/menu/GeneralSettings.tsx
index d40a1a33b..608db7997 100644
--- a/web/src/components/menu/GeneralSettings.tsx
+++ b/web/src/components/menu/GeneralSettings.tsx
@@ -116,22 +116,20 @@ export default function GeneralSettings({ className }: GeneralSettingsProps) {
-
-
-
-
-
-
-
-
-
- Settings
-
-
-
-
+
+
+
+
+
+
+
+
+ Settings
+
+
+
+
No Preview Found
- )
+ );
}
export abstract class PreviewController {
diff --git a/web/src/hooks/use-stats.ts b/web/src/hooks/use-stats.ts
index d381a6b48..bafc9e538 100644
--- a/web/src/hooks/use-stats.ts
+++ b/web/src/hooks/use-stats.ts
@@ -51,7 +51,7 @@ export default function useStats(stats: FrigateStats | undefined) {
return;
}
- if (config.cameras[name].enabled && (cam["camera_fps"] == 0)) {
+ if (config.cameras[name].enabled && cam["camera_fps"] == 0) {
problems.push({
text: `${capitalizeFirstLetter(name.replaceAll("_", " "))} is offline`,
color: "text-danger",
diff --git a/web/src/views/live/LiveCameraView.tsx b/web/src/views/live/LiveCameraView.tsx
index a599151df..cc27b72bf 100644
--- a/web/src/views/live/LiveCameraView.tsx
+++ b/web/src/views/live/LiveCameraView.tsx
@@ -101,7 +101,9 @@ export default function LiveCameraView({ camera }: LiveCameraViewProps) {
return (
cameraMetadata.producers.find(
(prod) =>
- prod.medias && prod.medias.find((media) => media.includes("audio, sendonly")) != undefined,
+ prod.medias &&
+ prod.medias.find((media) => media.includes("audio, sendonly")) !=
+ undefined,
) != undefined
);
}, [cameraMetadata]);
@@ -113,10 +115,12 @@ export default function LiveCameraView({ camera }: LiveCameraViewProps) {
return (
cameraMetadata.producers.find(
(prod) =>
- prod.medias && prod.medias.find((media) => media.includes("audio, recvonly")) != undefined,
+ prod.medias &&
+ prod.medias.find((media) => media.includes("audio, recvonly")) !=
+ undefined,
) != undefined
);
- }, [cameraMetadata])
+ }, [cameraMetadata]);
// click overlay for ptzs
@@ -351,14 +355,16 @@ export default function LiveCameraView({ camera }: LiveCameraViewProps) {
onClick={() => setMic(!mic)}
/>
)}
- {supportsAudioOutput && setAudio(!audio)}
- />}
+ {supportsAudioOutput && (
+ setAudio(!audio)}
+ />
+ )}