if exportRecord not present set state to init
This commit is contained in:
parent
40baf9c412
commit
0de851395b
|
@ -104,6 +104,7 @@ export default function ExportModal(props: Props) {
|
|||
try {
|
||||
const exportRecord = await exportService.getExportRecord();
|
||||
if (!exportRecord) {
|
||||
setExportStage(ExportStage.INIT);
|
||||
return;
|
||||
}
|
||||
setExportStage(exportRecord.stage);
|
||||
|
|
Loading…
Reference in a new issue