Hide if no unassigned

This commit is contained in:
Nicolas Mowen 2025-12-15 11:39:38 -07:00
parent d72f89492d
commit c5a1e186bd

View File

@ -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">