Skip to content

Commit

Permalink
Move lock icon to end of model names in Model Zoo
Browse files Browse the repository at this point in the history
  • Loading branch information
dadmobile committed Jun 3, 2024
1 parent 8432304 commit 357f2ef
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/renderer/components/ModelZoo/ModelStore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -338,14 +338,14 @@ export default function ModelStore() {
<tr key={row.uniqueID}>
<td>
<Typography level="title-md" marginLeft={2}>
{row.gated &&
<a href={getModelHuggingFaceURL(row)} target="_blank">
<LockKeyholeIcon />
</a>
}
{row.name}&nbsp;
<a href={row?.resources?.canonicalUrl} target="_blank">
<ExternalLinkIcon size="14px" />

<a href={getModelHuggingFaceURL(row)} target="_blank">
{row.gated ? (
<LockKeyholeIcon />
) : (
<ExternalLinkIcon size="14px" />
)}
</a>
</Typography>
</td>
Expand Down

0 comments on commit 357f2ef

Please sign in to comment.