mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 09:02:15 +03:00
Fix model selection type in Frigate+ settings pane (#19952)
* model type does not need to match config model type As long as a model is supported by a detector, it should be available in the list * fix missing semicolon the web linter was complaining
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user