# Dubbel icoon in de categorie-dropdown van de componist

**URL:** https://meta.discourse.org/t/duplicated-icon-in-composers-category-dropdown/359474
**Category:** UX
**Created:** [29 maart 2025 om 22:37 UTC](https://meta.discourse.org/t/duplicated-icon-in-composers-category-dropdown/359474 "2025-03-29T22:37:35Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![alltiagocom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alltiagocom/32/492709_2.png) [@alltiagocom](https://meta.discourse.org/u/alltiagocom)
#### Post date: [29 maart 2025 om 22:37 UTC](https://meta.discourse.org/t/duplicated-icon-in-composers-category-dropdown/359474/1 "2025-03-29T22:37:35Z")

</div>

It shows twice in the composer and nowhere else (at least that’s the only place where it seems to be acting like this)

![image](https://global.discourse-cdn.com/meta/original/4X/3/1/f/31ff8f1a299e7d2eb82fe131150e638345ac3784.png)

I don’t know if this helps?

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/2/3/e23d10c47836220289b221025d33cf8219225ad5.png)

---

<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: [30 maart 2025 om 13:55 UTC](https://meta.discourse.org/t/duplicated-icon-in-composers-category-dropdown/359474/3 "2025-03-30T13:55:00Z")

</div>

Yes, I can reproduce it as well.

It’s a side-effect of [FEATURE: add icons and emojis to category (#31795) · discourse/discourse@d06c60c · GitHub](https://github.com/discourse/discourse/commit/d06c60ca7c5081c8080338645910cd7f17504d2e#diff-1022aaa2737e929b45061baacf58a1b5a42d76260c859cd4ca9a797b7b10d8ef).

In the code (ignore me), it seems to miss a default value.

 ![The image shows an open code editor window displaying a JavaScript file named with imports and class definitions related to a component named . (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/b/d/6/bd69796b0175273ea9c0e59d190c36235b1a7e85.png)

---

<div class="post-metadata">

### Author: ![alltiagocom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alltiagocom/32/492709_2.png) [@alltiagocom](https://meta.discourse.org/u/alltiagocom)
#### Post date: [30 maart 2025 om 19:38 UTC](https://meta.discourse.org/t/duplicated-icon-in-composers-category-dropdown/359474/4 "2025-03-30T19:38:34Z")

</div>

> [@Arkshine](#):
>
> Yes, I can reproduce it as well.

Thank you for checking. Glad to know it isn’t just me.

> [@Arkshine](#):
>
> It’s a side-effect of [FEATURE: add icons and emojis to category (#31795) · discourse/discourse@d06c60c · GitHub](https://github.com/discourse/discourse/commit/d06c60ca7c5081c8080338645910cd7f17504d2e#diff-1022aaa2737e929b45061baacf58a1b5a42d76260c859cd4ca9a797b7b10d8ef).

So is this a new feature, the option to add the icons? I don’t think I remember having this before, but maybe I just overlooked it.

> [@Arkshine](#):
>
> In the code (ignore me), it seems to miss a default value.

Oh I did… even if I wanted to follow you on that, I wouldn’t be able to haha

---

<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: [30 maart 2025 om 19:44 UTC](https://meta.discourse.org/t/duplicated-icon-in-composers-category-dropdown/359474/5 "2025-03-30T19:44:15Z")

</div>

> [@alltiagocom](#):
>
> So is this a new feature, the option to add the icons? I don’t think I remember having this before, but maybe I just overlooked it.

Yes, it was merged five days ago. This is another popular feature in a TC ([Category Icons](https://meta.discourse.org/t/category-icons/104683)) that is incorporated into the core.

---

<div class="post-metadata">

### Author: ![alltiagocom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alltiagocom/32/492709_2.png) [@alltiagocom](https://meta.discourse.org/u/alltiagocom)
#### Post date: [30 maart 2025 om 19:50 UTC](https://meta.discourse.org/t/duplicated-icon-in-composers-category-dropdown/359474/6 "2025-03-30T19:50:32Z")

</div>

> [@Arkshine](#):
>
> Yes, it was merged five days ago. This is another popular feature in a TC ([Category Icons](https://meta.discourse.org/t/category-icons/104683)) that is incorporated into the core.

So basically we don’t need the TC anymore, right?

---

<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: [30 maart 2025 om 20:09 UTC](https://meta.discourse.org/t/duplicated-icon-in-composers-category-dropdown/359474/7 "2025-03-30T20:09:56Z")

</div>

Correct. You can choose to use an icon or emoji when you edit a category.

---

<div class="post-metadata">

### Author: ![davidb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidb/32/554671_2.png) [@davidb](https://meta.discourse.org/u/davidb)
#### Post date: [1 april 2025 om 12:49 UTC](https://meta.discourse.org/t/duplicated-icon-in-composers-category-dropdown/359474/9 "2025-04-01T12:49:13Z")

</div>

Thank you for reporting, and also thank you @Arkshine for the quick debugging.

I’ve added the update in [this commit](https://github.com/discourse/discourse/commit/1519f3dde9d1937172d89bb3551d1ad42f8098ae).

---

<div class="post-metadata">

### Author: ![alltiagocom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alltiagocom/32/492709_2.png) [@alltiagocom](https://meta.discourse.org/u/alltiagocom)
#### Post date: [2 april 2025 om 20:18 UTC](https://meta.discourse.org/t/duplicated-icon-in-composers-category-dropdown/359474/10 "2025-04-02T20:18:19Z")

</div>

Thank you, David!
