# 投票禁用后，投票导航仍显示

**URL:** https://meta.discourse.org/t/votes-navigation-remains-after-voting-is-disabled/109259
**Category:** Support
**Tags:** topic-voting
**Created:** [2019年二月15日 15:29 UTC](https://meta.discourse.org/t/votes-navigation-remains-after-voting-is-disabled/109259 "2019-02-15T15:29:59Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![CodyLerum](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codylerum/32/131571_2.png) [@CodyLerum](https://meta.discourse.org/u/CodyLerum)
#### Post date: [2019年二月15日 15:29 UTC](https://meta.discourse.org/t/votes-navigation-remains-after-voting-is-disabled/109259/1 "2019-02-15T15:29:59Z")

</div>

If voting is enabled and then turned off the navigation element for topics sorted by votes remains but appears to be a dead link.

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/f/afffb45c3b63310f7e2c8204a0601535a3b2323c.png)

This is on a current discourse hosted instance.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2019年二月15日 16:41 UTC](https://meta.discourse.org/t/votes-navigation-remains-after-voting-is-disabled/109259/2 "2019-02-15T16:41:28Z")

</div>

Does it persists after refreshing the page?

---

<div class="post-metadata">

### Author: ![CodyLerum](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codylerum/32/131571_2.png) [@CodyLerum](https://meta.discourse.org/u/CodyLerum)
#### Post date: [2019年二月15日 16:54 UTC](https://meta.discourse.org/t/votes-navigation-remains-after-voting-is-disabled/109259/3 "2019-02-15T16:54:27Z")

</div>

Yes. It remains after refresh, login/out, and empty cache hard reload.

Renders as

```plaintext
<li id="ember39" class="extra-nav-item-outlet votes ember-view"><a title="topics with the most votes">Votes</a>
</li>

```

---

<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: [2019年二月18日 04:21 UTC](https://meta.discourse.org/t/votes-navigation-remains-after-voting-is-disabled/109259/4 "2019-02-18T04:21:21Z")

</div>

@vinothkannans can you add to your list to investigate this? We need to ensure that if a site in the multisite has voting disabled nothing is rendered.

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [2019年二月20日 21:36 UTC](https://meta.discourse.org/t/votes-navigation-remains-after-voting-is-disabled/109259/5 "2019-02-20T21:36:02Z")

</div>

It is fixed by the below commit. And the issue is not related to the multisite.

[https://github.com/discourse/discourse-voting/commit/2f6d07dbc3537c372767c42cbbfe6c0573e8139f](https://github.com/discourse/discourse-voting/commit/2f6d07dbc3537c372767c42cbbfe6c0573e8139f)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2022年三月18日 12:37 UTC](https://meta.discourse.org/t/votes-navigation-remains-after-voting-is-disabled/109259/7 "2022-03-18T12:37:01Z")

</div>



---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2022年三月18日 12:44 UTC](https://meta.discourse.org/t/votes-navigation-remains-after-voting-is-disabled/109259/8 "2022-03-18T12:44:38Z")

</div>


