From 2ff9896c3038ac5b016e41166a5605bcdf11b835 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 15 Dec 2025 12:12:42 -0700 Subject: [PATCH] Improve layout --- web/src/components/card/ExportCard.tsx | 2 +- web/src/pages/Exports.tsx | 16 +++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/web/src/components/card/ExportCard.tsx b/web/src/components/card/ExportCard.tsx index 88000e54c..fc7964c18 100644 --- a/web/src/components/card/ExportCard.tsx +++ b/web/src/components/card/ExportCard.tsx @@ -188,7 +188,7 @@ export function ExportCard({ )} {!exportedRecording.in_progress && (
- + 0 && (
{t("headings.cases")} -
+
{cases?.map((item) => ( {t("headings.uncategorizedExports")}
{exports.map((item) => (
{exports?.map((item) => ( [ - ...(cases ?? []).map((c) => ({ - value: c.id, - label: c.name, - })), + ...(cases ?? []) + .map((c) => ({ + value: c.id, + label: c.name, + })) + .sort((cA, cB) => cA.label.localeCompare(cB.label)), { value: "new", label: t("caseDialog.newCaseOption"),