mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-08 06:15:43 +03:00
Fix dialog getting stuck
This commit is contained in:
parent
d8e32b8724
commit
5b7fe10caf
@ -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>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user