# 取消更改时信任等级显示错误（不确定如何命名此问题）

**URL:** <https://meta.discourse.org/t/trust-level-being-displayed-falsely-when-cancelling-a-change-unsure-what-to-name-this/121297>\
**Category:** UX\
**Created:** [2019年六月25日 17:04 UTC](https://meta.discourse.org/t/trust-level-being-displayed-falsely-when-cancelling-a-change-unsure-what-to-name-this/121297 "2019-06-25T17:04:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zeemah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zeemah/32/252179_2.png) [@Zeemah](https://meta.discourse.org/u/Zeemah)\
**Post date:** [2019年六月25日 17:04 UTC](https://meta.discourse.org/t/trust-level-being-displayed-falsely-when-cancelling-a-change-unsure-what-to-name-this/121297/1 "2019-06-25T17:04:30Z")

</div>

So, I was attempting to change a user’s Trust Level, I cancelled the change by pressing the ❎ and it ended up with a really peculiar outcome. It’s kinda hard to explain so it’s best if I provide reproductive steps.

1. Go to /admin/users/[a user] and choose a Trust Level that is different to their current.
2. Cancel the input by pressing the ❎ like aforementioned.
3. Go back to the dropdown list and you’ll notice that the Trust Level you attempted to change is no longer the level as before, the name stays the same, however.

This also results in you unable to set the trust level to that level unless you refresh the page. I don’t see this is expected behaviour. Here’s an example:

 ![Soupy-Handy-Lightcyan](https://global.discourse-cdn.com/meta/original/3X/c/3/c3fcdeae427838c515073277c69a984eb2c2dbf0.gif)

Personally, I can’t think of a scenario where this would this become aburden but I though I’d report it anyway.

---

<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:** [2019年六月26日 10:49 UTC](https://meta.discourse.org/t/trust-level-being-displayed-falsely-when-cancelling-a-change-unsure-what-to-name-this/121297/2 "2019-06-26T10:49:44Z")

</div>

Can we repro this @tshenry?

---

<div class="post-metadata">

**Author:** ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)\
**Post date:** [2019年六月26日 10:54 UTC](https://meta.discourse.org/t/trust-level-being-displayed-falsely-when-cancelling-a-change-unsure-what-to-name-this/121297/3 "2019-06-26T10:54:30Z")

</div>

Yep, I can definitely repro.

---

<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:** [2019年六月26日 10:55 UTC](https://meta.discourse.org/t/trust-level-being-displayed-falsely-when-cancelling-a-change-unsure-what-to-name-this/121297/4 "2019-06-26T10:55:53Z")

</div>

Paging @j.jaffeux

---

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [2019年六月26日 12:52 UTC](https://meta.discourse.org/t/trust-level-being-displayed-falsely-when-cancelling-a-change-unsure-what-to-name-this/121297/6 "2019-06-26T12:52:08Z")

</div>

That should fix it:

[https://github.com/discourse/discourse/commit/7c9d62c280072dfcb2e7d612951760cf46d3a233](https://github.com/discourse/discourse/commit/7c9d62c280072dfcb2e7d612951760cf46d3a233)

Probably worth a backport too.

---

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [2019年七月1日 13:34 UTC](https://meta.discourse.org/t/trust-level-being-displayed-falsely-when-cancelling-a-change-unsure-what-to-name-this/121297/7 "2019-07-01T13:34:59Z")

</div>


