Skip to content

Commit

Permalink
Source/Collection version export dialog | updated processing info label
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Aug 30, 2021
1 parent bea2672 commit 7b71d5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/common/ConceptContainerExport.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class ConceptContainerExport extends React.Component {
anchorEl, open, isCheckingExportExists, isProcessing, hasExistingExport, exportURL,
serverError, errorDetails, options
} = this.state;
const { title } = this.props;
const { title, resource } = this.props;
return (
<React.Fragment>
<Tooltip arrow title={title}>
Expand Down Expand Up @@ -187,7 +187,7 @@ class ConceptContainerExport extends React.Component {
{
isProcessing &&
<Alert variant="filled" severity="warning" style={{margin: '5px 0'}}>
This version is currently in processing...
{`A cached export for this ${resource} version is being generated. Check again later…`}
</Alert>
}
{
Expand All @@ -200,7 +200,7 @@ class ConceptContainerExport extends React.Component {
!isProcessing && !hasExistingExport && !isCheckingExportExists && !exportURL &&
<React.Fragment>
<Alert variant="filled" severity="warning" style={{margin: '5px 0'}}>
There is no existing export found for this version.
{`There is no export cached for this ${resoure} version`}
</Alert>
<div style={{marginTop: '15px', padding: '0 10px'}}>
<h3 style={{display: 'contents'}}>Click here to queue a new export</h3>
Expand Down

0 comments on commit 7b71d5d

Please sign in to comment.