Skip to content

Commit

Permalink
Create a chip that says gated instead of lock icon
Browse files Browse the repository at this point in the history
  • Loading branch information
dadmobile committed Jun 3, 2024
1 parent 357f2ef commit 88de49e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/renderer/components/ModelZoo/ModelStore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,14 @@ export default function ModelStore() {

<a href={getModelHuggingFaceURL(row)} target="_blank">
{row.gated ? (
<LockKeyholeIcon />
<Chip
variant="soft"
size="sm"
startDecorator={<LockKeyholeIcon />}
color='neutral'
>
Gated
</Chip>
) : (
<ExternalLinkIcon size="14px" />
)}
Expand Down

0 comments on commit 88de49e

Please sign in to comment.