|
@@ -70,16 +70,16 @@ const ExportModalWidget = ({
|
|
|
filenameRef.current = filename;
|
|
filenameRef.current = filename;
|
|
|
});
|
|
});
|
|
|
const queryStatus = () => {
|
|
const queryStatus = () => {
|
|
|
- console.log("timer", filenameRef.current);
|
|
|
|
|
|
|
+ console.debug("timer", filenameRef.current);
|
|
|
if (typeof filenameRef.current === "undefined") {
|
|
if (typeof filenameRef.current === "undefined") {
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
const url = `/v2/export/${filenameRef.current}`;
|
|
const url = `/v2/export/${filenameRef.current}`;
|
|
|
- console.log("url", url);
|
|
|
|
|
|
|
+ console.info("export url", url);
|
|
|
get<IExportStatusResponse>(url)
|
|
get<IExportStatusResponse>(url)
|
|
|
.then((json) => {
|
|
.then((json) => {
|
|
|
if (json.ok) {
|
|
if (json.ok) {
|
|
|
- console.log("filename", json);
|
|
|
|
|
|
|
+ console.info("filename", json);
|
|
|
setExportStatus(json.data.status);
|
|
setExportStatus(json.data.status);
|
|
|
if (json.data.status.progress === 1) {
|
|
if (json.data.status.progress === 1) {
|
|
|
setFilename(undefined);
|
|
setFilename(undefined);
|