mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-10 10:33:11 +03:00
feat: add retain_policy to recording settings UI
Added retain_policy to field order, retention group, and restartRequired list in the recording section config.
This commit is contained in:
parent
1b95d02b7e
commit
914cc246a6
@ -6,6 +6,7 @@ const record: SectionConfigOverrides = {
|
||||
restartRequired: [],
|
||||
fieldOrder: [
|
||||
"enabled",
|
||||
"retain_policy",
|
||||
"expire_interval",
|
||||
"continuous",
|
||||
"motion",
|
||||
@ -15,7 +16,7 @@ const record: SectionConfigOverrides = {
|
||||
"export",
|
||||
],
|
||||
fieldGroups: {
|
||||
retention: ["enabled", "continuous", "motion"],
|
||||
retention: ["enabled", "retain_policy", "continuous", "motion"],
|
||||
events: ["alerts", "detections"],
|
||||
},
|
||||
hiddenFields: ["enabled_in_config", "sync_recordings"],
|
||||
@ -31,6 +32,7 @@ const record: SectionConfigOverrides = {
|
||||
global: {
|
||||
restartRequired: [
|
||||
"enabled",
|
||||
"retain_policy",
|
||||
"expire_interval",
|
||||
"continuous",
|
||||
"motion",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user