Skip to content

Commit

Permalink
- updated 'download is preparing' message
Browse files Browse the repository at this point in the history
  • Loading branch information
boriskovar-m2ms committed Dec 22, 2023
1 parent a3c2f2a commit 7b026d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/components/snapshot/modals/downloadStructuresDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ export const DownloadStructureDialog = memo(({}) => {
let inProgress = false;

// for testing purposes - preparation is way to fast
// await new Promise(r => setTimeout(r, 120000));
await new Promise(r => setTimeout(r, 120000));

const requestObject = prepareRequestObject();
if (requestObject) {
Expand Down Expand Up @@ -485,7 +485,7 @@ export const DownloadStructureDialog = memo(({}) => {
</Box>
{!error && (
<DialogTitle id="form-dialog-structures-title" disableTypography>
<Typography variant="h5">{'Preparing download...'}</Typography>
<Typography variant="h5">{'Preparing download... You can safely close this dialog'}</Typography>
</DialogTitle>
)}
</>
Expand Down

0 comments on commit 7b026d2

Please sign in to comment.