Skip to content

Commit

Permalink
fix: truncate too long secret names
Browse files Browse the repository at this point in the history
  • Loading branch information
kielbasa-elp committed Sep 18, 2024
1 parent 8010695 commit e0e2386
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,13 @@ export const KnowledgeBaseCollectionListItem: React.FC<
</CardHeader>

<CardContent className="border-t border-input">
<div className="grid grid-cols-1 divide-y xl:divide-y-0 xl:grid-cols-[3fr_4fr_2fr_2fr_2fr_2fr_2fr] pt-3">
<div className="grid grid-cols-1 divide-y xl:divide-y-0 xl:grid-cols-[3fr_4fr_2fr_3fr_2fr_2fr_2fr] pt-3">
<CardContentColumnWrapper>
<CardContentColumnTitle>Model</CardContentColumnTitle>
<CardContentColumnValue>
<CardContentColumnValue
className="line-clamp-1"
title={data.embeddings.model}
>
{data.embeddings.model}
</CardContentColumnValue>
</CardContentColumnWrapper>
Expand All @@ -148,7 +151,10 @@ export const KnowledgeBaseCollectionListItem: React.FC<

<CardContentColumnWrapper>
<CardContentColumnTitle>Secret name</CardContentColumnTitle>
<CardContentColumnValue>
<CardContentColumnValue
className="line-clamp-1"
title={data.embeddings.secret_name}
>
{data.embeddings.secret_name}
</CardContentColumnValue>
</CardContentColumnWrapper>
Expand Down

0 comments on commit e0e2386

Please sign in to comment.