# 删除一个组件后，组件列表显示不全

**URL:** https://meta.discourse.org/t/components-list-not-showing-all-components-after-deleting-one/371784
**Category:** Bug
**Created:** [2025年六月26日 09:02 UTC](https://meta.discourse.org/t/components-list-not-showing-all-components-after-deleting-one/371784 "2025-06-26T09:02:16Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [2025年六月26日 17:18 UTC](https://meta.discourse.org/t/components-list-not-showing-all-components-after-deleting-one/371784/3 "2025-06-26T17:18:36Z")

</div>

是的，我也注意到了这个问题，正在尝试在此处进行修复：

> <https://github.com/discourse/discourse/pull/33364>
>
> Reported here: https://meta.discourse.org/t/components-list-not-showing-all-comp…onents-after-deleting-one/371784
> 
> Deleting a component reloads the component list, but doesn't maintain pagination if the admin loaded multiple pages of components... so you can end up with only a partial list after delete. 
> 
> This instead removes the component from the array without a reload, so it maintains the current list state.

---

_[View the full topic](https://meta.discourse.org/t/components-list-not-showing-all-components-after-deleting-one/371784)._
