mirror of
https://github.com/open-webui/open-webui
synced 2025-03-22 04:58:27 +00:00
refac
This commit is contained in:
parent
58261a7b83
commit
2897c25b99
@ -294,8 +294,10 @@
|
||||
<Tooltip content={feedback.data.sibling_model_ids.join(', ')}>
|
||||
<div class=" text-[0.65rem] text-gray-600 dark:text-gray-400 line-clamp-1">
|
||||
{#if feedback.data.sibling_model_ids.length > 2}
|
||||
{feedback.data.sibling_model_ids.slice(0, 2).join(', ')}, and
|
||||
{feedback.data.sibling_model_ids.length - 2} more
|
||||
{feedback.data.sibling_model_ids.slice(0, 2).join(', ')}, {$i18n.t(
|
||||
`and {{count}} more`,
|
||||
{ count: feedback.data.sibling_model_ids.length - 2 }
|
||||
)}
|
||||
{:else}
|
||||
{feedback.data.sibling_model_ids.join(', ')}
|
||||
{/if}
|
||||
|
Loading…
Reference in New Issue
Block a user