mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-10 07:15:45 +03:00
disable debug paths switch for autotracking cameras
This commit is contained in:
parent
b5e8c360c0
commit
0b58d58f66
@ -252,6 +252,10 @@ export default function ObjectSettingsView({
|
|||||||
className="ml-1"
|
className="ml-1"
|
||||||
id={param}
|
id={param}
|
||||||
checked={options && options[param]}
|
checked={options && options[param]}
|
||||||
|
disabled={
|
||||||
|
param === "paths" &&
|
||||||
|
cameraConfig?.onvif?.autotracking?.enabled_in_config
|
||||||
|
}
|
||||||
onCheckedChange={(isChecked) => {
|
onCheckedChange={(isChecked) => {
|
||||||
handleSetOption(param, isChecked);
|
handleSetOption(param, isChecked);
|
||||||
}}
|
}}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user