mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-17 15:53:59 -06: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user