mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-05 14:47:40 +03:00
remove add button from object and audio labels in settings
This commit is contained in:
parent
262e0c4af9
commit
0f9d034585
@ -19,6 +19,16 @@ const audio: SectionConfigOverrides = {
|
||||
hiddenFields: ["enabled_in_config"],
|
||||
advancedFields: ["min_volume", "max_not_heard", "num_threads"],
|
||||
uiSchema: {
|
||||
filters: {
|
||||
"ui:options": {
|
||||
expandable: false,
|
||||
},
|
||||
},
|
||||
"filters.*": {
|
||||
"ui:options": {
|
||||
additionalPropertyKeyReadonly: true,
|
||||
},
|
||||
},
|
||||
listen: {
|
||||
"ui:widget": "audioLabels",
|
||||
},
|
||||
|
||||
@ -29,6 +29,11 @@ const objects: SectionConfigOverrides = {
|
||||
],
|
||||
advancedFields: ["genai"],
|
||||
uiSchema: {
|
||||
filters: {
|
||||
"ui:options": {
|
||||
expandable: false,
|
||||
},
|
||||
},
|
||||
"filters.*.min_area": {
|
||||
"ui:options": {
|
||||
suppressMultiSchema: true,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user