mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-16 09:41:23 +00:00
fix: channel reaction tooltip shows only a count instead of who reacted (#33393)
Hovering a reaction in a channel stopped naming the people who reacted and only showed a count, such as "2 🚀". It names them again, for example "You and Alice reacted with 🚀". Reactions on comments keep showing just the count, since the app does not list who reacted there. Fixes #33392
This commit is contained in:
parent
cf16073a1a
commit
ea1c60fbdf
1 changed files with 1 additions and 1 deletions
|
|
@ -650,7 +650,7 @@
|
|||
<div class="flex items-center flex-wrap gap-1 mt-1 mb-1">
|
||||
{#each message.reactions as reaction}
|
||||
<Tooltip
|
||||
content={reaction.count !== undefined
|
||||
content={reaction.users.length === 0
|
||||
? `${reaction.count} :${reaction.name}:`
|
||||
: $i18n.t('{{NAMES}} reacted with {{REACTION}}', {
|
||||
NAMES: reaction.users
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue