Skip to content

Commit

Permalink
Source/Collection version export dialog | added more info on title
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Aug 30, 2021
1 parent 2e7857d commit bea2672
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 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 { version, title } = this.props;
const { title } = this.props;
return (
<React.Fragment>
<Tooltip arrow title={title}>
Expand All @@ -170,7 +170,7 @@ class ConceptContainerExport extends React.Component {
open &&
<Dialog open={open} onClose={this.toggleOpen} maxWidth="sm" fullWidth>
<DialogTitle>
{`Export Version: ${version.id}`}
{title}
</DialogTitle>
<DialogContent>
{
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/ConceptContainerVersionList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ const ConceptContainerVersionList = ({ versions, resource, canEdit, onUpdate, fh
version && !fhir &&
<ConceptContainerExport
isHEAD={isHEAD}
title={`Export Version ${version.id}`}
title={`Export ${startCase(resource)} Version: ${version.short_code} / ${version.id}`}
version={version}
resource={resource}
/>
Expand Down

0 comments on commit bea2672

Please sign in to comment.