mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-28 11:08:22 +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: [],
|
restartRequired: [],
|
||||||
fieldOrder: [
|
fieldOrder: [
|
||||||
"enabled",
|
"enabled",
|
||||||
|
"retain_policy",
|
||||||
"expire_interval",
|
"expire_interval",
|
||||||
"continuous",
|
"continuous",
|
||||||
"motion",
|
"motion",
|
||||||
@ -15,7 +16,7 @@ const record: SectionConfigOverrides = {
|
|||||||
"export",
|
"export",
|
||||||
],
|
],
|
||||||
fieldGroups: {
|
fieldGroups: {
|
||||||
retention: ["enabled", "continuous", "motion"],
|
retention: ["enabled", "retain_policy", "continuous", "motion"],
|
||||||
events: ["alerts", "detections"],
|
events: ["alerts", "detections"],
|
||||||
},
|
},
|
||||||
hiddenFields: ["enabled_in_config", "sync_recordings"],
|
hiddenFields: ["enabled_in_config", "sync_recordings"],
|
||||||
@ -31,6 +32,7 @@ const record: SectionConfigOverrides = {
|
|||||||
global: {
|
global: {
|
||||||
restartRequired: [
|
restartRequired: [
|
||||||
"enabled",
|
"enabled",
|
||||||
|
"retain_policy",
|
||||||
"expire_interval",
|
"expire_interval",
|
||||||
"continuous",
|
"continuous",
|
||||||
"motion",
|
"motion",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user