mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-20 18:59:01 +03:00
Mask/zone editor fixes (#22732)
* add guards to reject missing sub commands * mask/zone bugfixes - fix websocket crash when creating a new mask or zone before a name is assigned - fix deleted masks and zones not disappearing from the list until navigating away - fix deleting profile override not reverting to the base mask in the list - fix inertia defaulting to nan * disable save button on invalid form state * fix validation for speed estimation * ensure polygon is closed before allowing save * require all masks and zones to be on the base config * clarify dialog message and tooltip when removing an override * clarify docs
This commit is contained in:
@@ -539,6 +539,7 @@
|
||||
},
|
||||
"restart_required": "Restart required (masks/zones changed)",
|
||||
"disabledInConfig": "Item is disabled in the config file",
|
||||
"addDisabledProfile": "Add to the base config first, then override in the profile",
|
||||
"profileBase": "(base)",
|
||||
"profileOverride": "(override)",
|
||||
"toast": {
|
||||
@@ -613,6 +614,10 @@
|
||||
"desc": "Are you sure you want to delete the {{type}} <em>{{name}}</em>?",
|
||||
"success": "{{name}} has been deleted."
|
||||
},
|
||||
"revertOverride": {
|
||||
"title": "Revert to Base Config",
|
||||
"desc": "This will remove the profile override for the {{type}} <em>{{name}}</em> and revert to the base configuration."
|
||||
},
|
||||
"error": {
|
||||
"mustBeFinished": "Polygon drawing must be finished before saving."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user