# Incorrect staff sheild on user card

**URL:** https://meta.discourse.org/t/incorrect-staff-sheild-on-user-card/26782
**Category:** Bug
**Created:** [25 במרץ,‏ 2015,‏ 8:26pm UTC](https://meta.discourse.org/t/incorrect-staff-sheild-on-user-card/26782 "2015-03-25T20:26:59Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [25 במרץ,‏ 2015,‏ 8:27pm UTC](https://meta.discourse.org/t/incorrect-staff-sheild-on-user-card/26782/1 "2015-03-25T20:27:00Z")

</div>

![](https://global.discourse-cdn.com/meta/original/3X/e/e/eee5313fe3de39280a77511ef6ddfb8aba08713c.gif)

##Steps to reproduce

1. Clicking to staff members user avatar to display user card
2. Note the display of the staff shield
3. Click non-staff member user avatar to display user card

##Expected result  
Non-staff member user card should not include shield icon

##Actual result  
Non-staff member user card includes shield icon

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [25 במרץ,‏ 2015,‏ 8:32pm UTC](https://meta.discourse.org/t/incorrect-staff-sheild-on-user-card/26782/3 "2015-03-25T20:32:43Z")

</div>

I can repro here trivially, I wonder if we regressed this today @eviltrout ?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [25 במרץ,‏ 2015,‏ 10:24pm UTC](https://meta.discourse.org/t/incorrect-staff-sheild-on-user-card/26782/4 "2015-03-25T22:24:57Z")

</div>

Perhaps a regression related to unified display output for emails? Maybe have a look tomorrow @eviltrout

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [25 במרץ,‏ 2015,‏ 10:30pm UTC](https://meta.discourse.org/t/incorrect-staff-sheild-on-user-card/26782/5 "2015-03-25T22:30:15Z")

</div>

Note that the converse also seems true and you can get Admins without the badge if you click in the reverse sequence.

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [30 במרץ,‏ 2015,‏ 4:47pm UTC](https://meta.discourse.org/t/incorrect-staff-sheild-on-user-card/26782/6 "2015-03-30T16:47:57Z")

</div>

This should fix it up real nice:

[https://github.com/discourse/discourse/commit/5f8bd16e7e153cd7acfc523da206cb0f993ba9bf](https://github.com/discourse/discourse/commit/5f8bd16e7e153cd7acfc523da206cb0f993ba9bf)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [30 במרץ,‏ 2015,‏ 6:16pm UTC](https://meta.discourse.org/t/incorrect-staff-sheild-on-user-card/26782/7 "2015-03-30T18:16:04Z")

</div>


