# 카테고리 박스의 잠금 아이콘을 변경할 수 없습니다

**URL:** https://meta.discourse.org/t/unable-to-alter-the-lock-icon-in-category-boxes/212133
**Category:** UX
**Created:** [12월 15, 2021, 2:53오전 UTC](https://meta.discourse.org/t/unable-to-alter-the-lock-icon-in-category-boxes/212133 "2021-12-15T02:53:45Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [12월 15, 2021, 6:39오전 UTC](https://meta.discourse.org/t/unable-to-alter-the-lock-icon-in-category-boxes/212133/2 "2021-12-15T06:39:14Z")

</div>

이 중 일부는 코어에, 일부는 컴포넌트에 있습니다. 이 두 개의 PR이 병합되면 문제가 해결될 것입니다.

> <https://github.com/discourse/discourse/pull/15309>
>
> Context: https://meta.discourse.org/t/unable-to-alter-the-lock-icon-in-category-…boxes/212133
> 
> Instead of hardcoding the category lock icon, set it as a property that themes can override. This means that themes can avoid full template overrides. 
> 
> The category title link already does that here.
> 
> https://github.com/discourse/discourse/blob/1472e47aae5bfdfb6fd9abfe89beb186c751f514/app/assets/javascripts/discourse/app/components/category-title-link.js#L5
> 
> https://github.com/discourse/discourse/blob/70eca1dc4e04e94eb326482b51ea2617656fa8a8/app/assets/javascripts/discourse/app/templates/components/category-title-link.hbs#L5
> 
> This PR makes it so the \`categories-boxes\` and \`categories-boxes-with-topics\` also do the same.

> <https://github.com/discourse/discourse-category-icons/pull/9>
>
> context: https://meta.discourse.org/t/unable-to-alter-the-lock-icon-in-category-…boxes/212133
> 
> I sent a PR to fix the core side of this here
> 
> https://github.com/discourse/discourse/pull/15309
> 
> This PR makes the same adjustment here 
> 
> https://github.com/discourse/discourse-category-icons/blob/main/javascripts/discourse/initializers/category-icons.js#L21-L23
> 
> to the \`categories-boxes\` and \`categories-boxes-with-topics\` components.

---

_[View the full topic](https://meta.discourse.org/t/unable-to-alter-the-lock-icon-in-category-boxes/212133)._
