forked from cerc-io/laconic-console
Fix download status indicator
This commit is contained in:
parent
2c93ca284f
commit
77cb5c6267
@ -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>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user