Fix download status indicator

This commit is contained in:
Thomas E Lackey 2020-08-19 22:23:13 -05:00
parent 2c93ca284f
commit 77cb5c6267

View File

@ -50,7 +50,7 @@ const AppRecords = () => {
</TableRow>
</TableHead>
<TableBody>
{appData.sort(sorter).map(({ id, names, createTime, attributes: { name: displayName, version, package: hash } }) => {
{appData.sort(sorter).map(({ id, names, createTime, attributes: { name: displayName, version, package: packageLink } }) => {
return (
<TableRow key={id} size='small'>
<TableCell monospace>
@ -68,7 +68,7 @@ const AppRecords = () => {
</TableCell>
<TableCell>{moment.utc(createTime).fromNow()}</TableCell>
<TableCell>
<BooleanIcon yes={localRefs && localRefs.has(hash)} />
<BooleanIcon yes={localRefs && localRefs.has(packageLink['/'])} />
</TableCell>
</TableRow>
);