Skip to content

NVR with realtime local object detection for IP cameras

Fix model selection type in Frigate+ settings pane (#19952)

Josh Hawkins751de141d53f
diff --git a/web/src/components/player/HlsVideoPlayer.tsx b/web/src/components/player/HlsVideoPlayer.tsx
index 93f1da702d..4b1bfe5efc 100644
--- a/web/src/components/player/HlsVideoPlayer.tsx
+++ b/web/src/components/player/HlsVideoPlayer.tsx
@@ -139,7 +139,7 @@ export default function HlsVideoPlayer({
if (hlsRef.current) {
hlsRef.current.destroy();
}
- }
+ };
}, [videoRef, hlsRef, useHlsCompat, currentSource]);
// state handling
diff --git a/web/src/views/settings/FrigatePlusSettingsView.tsx b/web/src/views/settings/FrigatePlusSettingsView.tsx
index e721aa13ce..fb9a28d16a 100644
--- a/web/src/views/settings/FrigatePlusSettingsView.tsx
+++ b/web/src/views/settings/FrigatePlusSettingsView.tsx
@@ -390,7 +390,6 @@ export default function FrigatePlusSettingsView({
className="cursor-pointer"
value={id}
disabled={
- model.type != config.model.model_type ||
!model.supportedDetectors.includes(
Object.values(config.detectors)[0]
.type,