# 扩展话题动作显示谁喜欢了帖子，但没有人喜欢它

**URL:** <https://meta.discourse.org/t/expanding-topic-actions-displays-who-liked-the-posts-but-nobody-has-liked-it/355225>\
**Category:** Bug\
**Created:** [2025年三月1日 20:02 UTC](https://meta.discourse.org/t/expanding-topic-actions-displays-who-liked-the-posts-but-nobody-has-liked-it/355225 "2025-03-01T20:02:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Post date:** [2025年三月1日 20:45 UTC](https://meta.discourse.org/t/expanding-topic-actions-displays-who-liked-the-posts-but-nobody-has-liked-it/355225/2 "2025-03-01T20:45:36Z")

</div>

我查看了一下，这与最近（昨天）的一个 PR 相关：[A11Y: read who liked/read a post when count clicked (#31549) · discourse/discourse@5312550 · GitHub](https://github.com/discourse/discourse/commit/5312550bf98431fb6c52a1f99798638820819a42)

* * *

快速测试表明问题出在这里。  
`users` 数组应该根据其长度进行测试。

> <https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/components/small-user-list.gjs#L45-L47>

---

_[View the full topic](https://meta.discourse.org/t/expanding-topic-actions-displays-who-liked-the-posts-but-nobody-has-liked-it/355225)._
