mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-20 12:33:00 +03:00
Fix dialog getting stuck
This commit is contained in:
@@ -97,14 +97,12 @@ export default function ClassificationSelectionDialog({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={className ?? "flex"}>
|
<div className={className ?? "flex"}>
|
||||||
{newClass && (
|
<TextEntryDialog
|
||||||
<TextEntryDialog
|
open={newClass}
|
||||||
open={true}
|
setOpen={setNewClass}
|
||||||
setOpen={setNewClass}
|
title={t("createCategory.new")}
|
||||||
title={t("createCategory.new")}
|
onSave={(newCat) => onCategorizeImage(newCat)}
|
||||||
onSave={(newCat) => onCategorizeImage(newCat)}
|
/>
|
||||||
/>
|
|
||||||
)}
|
|
||||||
|
|
||||||
<Tooltip>
|
<Tooltip>
|
||||||
<Selector>
|
<Selector>
|
||||||
|
|||||||
Reference in New Issue
Block a user