fix: preserve text export format selection

This commit is contained in:
aits2026 committed 2026-03-10 13:55:26 +08:00
1 parent 1d97b19774
commit 96ac655d92
1 file changed
-2
-2
View File
@@ -3887,11 +3887,9 @@ function ExportPage() {
if (scope === 'content' && contentType) {
if (contentType === 'text') {
const fastTextFormat: TextExportFormat = options.format === 'excel' ? 'arkme-json' : options.format
const textExportConcurrency = Math.min(2, Math.max(1, base.exportConcurrency ?? options.exportConcurrency))
return {
...base,
format: fastTextFormat,
contentType,
exportConcurrency: textExportConcurrency,
exportAvatars: base.exportAvatars,