mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-03-24 23:06:51 +00:00
fix: preserve text export format selection
This commit is contained in:
@@ -3887,11 +3887,9 @@ function ExportPage() {
|
|||||||
|
|
||||||
if (scope === 'content' && contentType) {
|
if (scope === 'content' && contentType) {
|
||||||
if (contentType === 'text') {
|
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))
|
const textExportConcurrency = Math.min(2, Math.max(1, base.exportConcurrency ?? options.exportConcurrency))
|
||||||
return {
|
return {
|
||||||
...base,
|
...base,
|
||||||
format: fastTextFormat,
|
|
||||||
contentType,
|
contentType,
|
||||||
exportConcurrency: textExportConcurrency,
|
exportConcurrency: textExportConcurrency,
|
||||||
exportAvatars: base.exportAvatars,
|
exportAvatars: base.exportAvatars,
|
||||||
|
|||||||
Reference in New Issue
Block a user