mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-14 15:15:22 +03:00
clear editing group name
This commit is contained in:
parent
5df309cd57
commit
eb600fa1dd
@ -378,7 +378,13 @@ function NewGroupDialog({
|
|||||||
|
|
||||||
{editState != "none" && (
|
{editState != "none" && (
|
||||||
<>
|
<>
|
||||||
<Header className="mt-2" onClose={() => setEditState("none")}>
|
<Header
|
||||||
|
className="mt-2"
|
||||||
|
onClose={() => {
|
||||||
|
setEditState("none");
|
||||||
|
setEditingGroupName("");
|
||||||
|
}}
|
||||||
|
>
|
||||||
<Title>
|
<Title>
|
||||||
{editState == "add" ? "Add" : "Edit"} Camera Group
|
{editState == "add" ? "Add" : "Edit"} Camera Group
|
||||||
</Title>
|
</Title>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user