mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-11 17:47:37 +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">
|
<div className="w-full overflow-hidden">
|
||||||
{filteredCases?.length || filteredExports.length ? (
|
{filteredCases?.length || filteredExports.length ? (
|
||||||
<div className="flex flex-col gap-4">
|
<div className="flex flex-col gap-4">
|
||||||
{cases?.length && (
|
{filteredCases?.length && (
|
||||||
<div className="space-y-2">
|
<div className="space-y-2">
|
||||||
<Heading as="h4">{t("headings.cases")}</Heading>
|
<Heading as="h4">{t("headings.cases")}</Heading>
|
||||||
<div
|
<div
|
||||||
@ -352,6 +352,7 @@ function AllExportsView({
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{filteredExports.length && (
|
||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
<Heading as="h4">{t("headings.uncategorizedExports")}</Heading>
|
<Heading as="h4">{t("headings.uncategorizedExports")}</Heading>
|
||||||
<div
|
<div
|
||||||
@ -377,6 +378,7 @@ function AllExportsView({
|
|||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</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">
|
<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