mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-11 17:47:37 +03:00
Cleanup
This commit is contained in:
parent
8bc3f2727c
commit
7f37daf60e
@ -311,7 +311,12 @@ export function GroupedClassificationCard({
|
|||||||
isMobileOnly && "top-0 mx-4",
|
isMobileOnly && "top-0 mx-4",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div>
|
<div
|
||||||
|
className={cn(
|
||||||
|
"",
|
||||||
|
isMobile && "flex flex-col items-center justify-center",
|
||||||
|
)}
|
||||||
|
>
|
||||||
<ContentTitle className="flex items-center gap-2 font-normal capitalize">
|
<ContentTitle className="flex items-center gap-2 font-normal capitalize">
|
||||||
{event?.sub_label && event.sub_label !== "none"
|
{event?.sub_label && event.sub_label !== "none"
|
||||||
? event.sub_label
|
? event.sub_label
|
||||||
|
|||||||
@ -274,7 +274,7 @@ export default function ClassificationModelEditDialog({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Dialog open={open} onOpenChange={(open) => !open && handleCancel()}>
|
<Dialog open={open} onOpenChange={(open) => !open && handleCancel()}>
|
||||||
<DialogContent className="sm:max-w-[600px]">
|
<DialogContent>
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle>{t("edit.title")}</DialogTitle>
|
<DialogTitle>{t("edit.title")}</DialogTitle>
|
||||||
<DialogDescription>
|
<DialogDescription>
|
||||||
@ -284,7 +284,7 @@ export default function ClassificationModelEditDialog({
|
|||||||
</DialogDescription>
|
</DialogDescription>
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
|
|
||||||
<div className="space-y-6 pb-4">
|
<div className="space-y-6">
|
||||||
<Form {...form}>
|
<Form {...form}>
|
||||||
<form onSubmit={form.handleSubmit(onSubmit)} className="space-y-4">
|
<form onSubmit={form.handleSubmit(onSubmit)} className="space-y-4">
|
||||||
{isObjectModel && (
|
{isObjectModel && (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user