This commit is contained in:
rustmailer
2026-05-14 18:59:13 +08:00
parent 5406c4322c
commit 1682f21cf7
2 changed files with 3 additions and 3 deletions
@@ -182,7 +182,7 @@ const defaultValues: Account = {
date_since: undefined,
date_before: undefined,
folder_limit: undefined,
download_interval_min: 10,
download_interval_min: 60,
download_batch_size: 30,
};
@@ -210,7 +210,7 @@ const mapCurrentRowToFormValues = (currentRow: AccountModel): Account => {
date_since: currentRow.date_since ?? undefined,
date_before: currentRow.date_before ?? undefined,
folder_limit: currentRow.folder_limit ?? undefined,
download_interval_min: currentRow.download_interval_min ?? 10,
download_interval_min: currentRow.download_interval_min ?? 60,
download_batch_size: currentRow.download_batch_size ?? 30,
};
};
@@ -455,7 +455,7 @@ export function DownloadFoldersDialog({ currentRow, open, onOpenChange }: Props)
</div>
</div>
<ScrollArea className="flex-1 min-h-0 w-full pr-4 -mr-4 py-1">
<ScrollArea className="h-[calc(100%-500px)] flex-1 min-h-0 w-full pr-4 -mr-4 py-1">
{isLoading && (
<div className="p-8 space-y-8">
<div className="flex flex-col items-center gap-3 text-muted-foreground">