Skip to content

Commit

Permalink
Fix assistant name length
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrisse committed Aug 2, 2024
1 parent e03160e commit 0138251
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
data-value={assistant.id}
class="flex justify-between "
>
{`${assistant.name.slice(0, 20)}...`}
{assistant.name.length > 20 ? `${assistant.name.slice(0, 20)}...` : assistant.name}
{#if $threadsStore.selectedAssistantId === assistant.id}
<CheckOutline data-testid="checked" />
{/if}
Expand Down

0 comments on commit 0138251

Please sign in to comment.