We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0a21e3 commit 3dc3ecdCopy full SHA for 3dc3ecd
src/workspace-data/Data.js
@@ -355,7 +355,9 @@ const DataTableActions = ({
355
downloadForm.current.submit();
356
} else if (dataProvider.features.supportsTsvAjaxDownload) {
357
// TODO: this overrides the filename specified by the WDS API. Is that ok?
358
- dataProvider.downloadTsv(signal, tableName).then((blob) => FileSaver.saveAs(blob, `${tableName}.tsv`));
+ Utils.withBusyState(setLoading, dataProvider.downloadTsv)(signal, tableName).then((blob) =>
359
+ FileSaver.saveAs(blob, `${tableName}.tsv`)
360
+ );
361
}
362
Ajax().Metrics.captureEvent(Events.workspaceDataDownload, {
363
...extractWorkspaceDetails(workspace.workspace),
0 commit comments