fix: make email/login_name immutable and add ui sortable account_name #195

This commit is contained in:
rustmailer
2026-04-16 14:50:27 +08:00
parent 82915e76ba
commit 39d8168de5
41 changed files with 595 additions and 506 deletions
@@ -182,10 +182,10 @@ export function DownloadFoldersDialog({ currentRow, open, onOpenChange }: Props)
const itemsWithChildren = getParentIds(tree);
setItemsWithChildren(itemsWithChildren);
setExpandedItems(itemsWithChildren);
const sync_folders = data
.filter(mailbox => currentRow.sync_folders.includes(mailbox.name))
const download_folders = data
.filter(mailbox => currentRow.download_folders.includes(mailbox.name))
.map(mailbox => mailbox.id.toString());
setSelectedItems(sync_folders);
setSelectedItems(download_folders);
setError(undefined);
}
} catch (err: any) {