mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-09 15:05:26 +03:00
Hide if no unassigned
This commit is contained in:
parent
d72f89492d
commit
c5a1e186bd
@ -327,7 +327,7 @@ function AllExportsView({
|
||||
<div className="w-full overflow-hidden">
|
||||
{filteredCases?.length || filteredExports.length ? (
|
||||
<div className="flex flex-col gap-4">
|
||||
{cases?.length && (
|
||||
{filteredCases?.length && (
|
||||
<div className="space-y-2">
|
||||
<Heading as="h4">{t("headings.cases")}</Heading>
|
||||
<div
|
||||
@ -352,6 +352,7 @@ function AllExportsView({
|
||||
</div>
|
||||
)}
|
||||
|
||||
{filteredExports.length && (
|
||||
<div className="space-y-4">
|
||||
<Heading as="h4">{t("headings.uncategorizedExports")}</Heading>
|
||||
<div
|
||||
@ -377,6 +378,7 @@ function AllExportsView({
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
) : (
|
||||
<div className="absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 flex-col items-center justify-center text-center">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user