# Matching wrong tag to tag icon

**URL:** <https://meta.discourse.org/t/matching-wrong-tag-to-tag-icon/272395>\
**Category:** Bug\
**Tags:** tag-icons\
**Created:** [May 18, 2021, 6:38pm UTC](https://meta.discourse.org/t/matching-wrong-tag-to-tag-icon/272395 "2021-05-18T18:38:13Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)\
**Post date:** [May 17, 2021, 9:10pm UTC](https://meta.discourse.org/t/matching-wrong-tag-to-tag-icon/272395/5 "2021-05-17T21:10:20Z")

</div>

Hi @AquaL1te and @e3hines,  
I made an update to the component that fixes the bug you both ran into.

The issue was that the component code was previously matching the wrong tag for a specific icon. In AquaL1te’s site this is quite obvious:

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/5/15788ec82076bef5a8950a31a21cc0bc980aa03c.png)

When the component was looking for an icon for `jitsi` it was wrongly matching `it` to get the icon (and then in a second step only, it was checking the full tag name, and since there was no match, it was showing nothing).

If you update the component, you should see the issue fixed.

> [@e3hines](#):
>
> This one is really weird and possibly it’s a problem with FA. One of our tags (google-home) we wanted to use the FA icon, “Google”.

Because Font Awesome has multiple sets of icons, the brand icons need a prefix. Try using `fab-google`, that should work. (And sorry it took me so long to respond to this…)

---

_[View the full topic](https://meta.discourse.org/t/matching-wrong-tag-to-tag-icon/272395)._
