Fix: websync doc and export dataset ux (#1225)

* Revert "lafAccount add pat & re request when token invalid (#76)" (#77)

This reverts commit 83d85dfe37adcaef4833385ea52ee79fd84720be.

* perf: workflow ux

* system config

* perf: export data

* doc

* update doc

* fix: whisper
This commit is contained in:
Archer
2024-04-18 12:03:30 +08:00
committed by GitHub
parent 78d50e157f
commit bc0ac6d26b
7 changed files with 131 additions and 21 deletions

View File

@@ -92,11 +92,17 @@ const Kb = () => {
setLoading(true);
await checkTeamExportDatasetLimit(dataset._id);
xmlDownloadFetch({
await xmlDownloadFetch({
url: `/api/core/dataset/exportAll?datasetId=${dataset._id}`,
filename: `${dataset.name}.csv`
});
},
onSuccess() {
toast({
status: 'success',
title: t('core.dataset.Start export')
});
},
onSettled() {
setLoading(false);
},