Add button to view exports when exported (#20682)

This commit is contained in:
Nicolas Mowen
2025-10-26 13:11:48 -05:00
committed by GitHub
parent 190925375b
commit 43706eb48d
5 changed files with 22 additions and 2 deletions
@@ -95,6 +95,11 @@ export default function ExportDialog({
if (response.status == 200) {
toast.success(t("export.toast.success"), {
position: "top-center",
action: (
<a href="/export" target="_blank" rel="noopener noreferrer">
<Button>View</Button>
</a>
),
});
setName("");
setRange(undefined);
@@ -104,6 +104,11 @@ export default function MobileReviewSettingsDrawer({
t("export.toast.success", { ns: "components/dialog" }),
{
position: "top-center",
action: (
<a href="/export" target="_blank" rel="noopener noreferrer">
<Button>View</Button>
</a>
),
},
);
setName("");