Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#1213 | showing meta checksum if all are not…
Browse files Browse the repository at this point in the history
… computed yet
  • Loading branch information
snyaggarwal committed Apr 21, 2023
1 parent 470918b commit a4a7cef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/common/VersionList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const VersionList = ({ versions, resource }) => {
<Tooltip title="Checksum of versions's metadata, locales, direct associations and source versions." placement='left'>
<div>
<BetaLabel label='Checksum' />:
<_Checksum checksum={version.checksums.all} />
<_Checksum checksum={version.checksums.all || version.checksums.meta} />
<span>
<IconButton size='small' color='primary' onClick={() => setExpandChecksums(!expandChecksums)}>
{expandChecksums ? <UpIcon fontSize='inherit' /> : <DownIcon fontSize='inherit' />}
Expand All @@ -148,6 +148,7 @@ const VersionList = ({ versions, resource }) => {
<Checksum title="Checksum of versions's descriptions." label='Descriptions' checksum={version.checksums.descriptions} />
<Checksum title="Checksum of versions's associations." label='Associations' checksum={version.checksums.mappings} />
<Checksum title="Checksum of versions's source versions." label='Source Versions' checksum={version.checksums.repo_versions} />
<Checksum title="Checksum of everything." label='All' checksum={version.checksums.all} />
</Collapse>
}
</div>
Expand Down

0 comments on commit a4a7cef

Please sign in to comment.