# Zendesk Button Not Updating Correctly on Topic Change Without Page Refresh

**URL:** <https://meta.discourse.org/t/zendesk-button-not-updating-correctly-on-topic-change-without-page-refresh/335896>\
**Category:** Product Support\
**Tags:** zendesk\
**Created:** [November 13, 2024, 4:26am UTC](https://meta.discourse.org/t/zendesk-button-not-updating-correctly-on-topic-change-without-page-refresh/335896 "2024-11-13T04:26:08Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![abinash.bhatta](https://avatars.discourse-cdn.com/v4/letter/a/e8c25b/32.png) [@abinash.bhatta](https://meta.discourse.org/u/abinash.bhatta)\
**Post date:** [November 13, 2024, 4:26am UTC](https://meta.discourse.org/t/zendesk-button-not-updating-correctly-on-topic-change-without-page-refresh/335896/1 "2024-11-13T04:26:08Z")

</div>

Hi, I’m experiencing an issue with the Zendesk plugin’s “View on Zendesk” button behavior. When a ticket already exists in Zendesk, the button displays as “View on Zendesk” correctly. However, if I navigate to a different topic that doesn’t have a corresponding Zendesk ticket, the button still initially shows “View on Zendesk” instead of “Create Zendesk Ticket” Once I refresh the page, the button updates to show the correct “Create Zendesk Ticket” option.

 ![The image shows a screenshot of a website with a red arrow pointing to the "View on Zendesk" button. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/1/4/a/14a588b7a2c31c7692a66714608bf0ecfdde5d7f.png)

It seems that the button component isn’t re-rendering upon navigation to a new topic. I believe a solution could involve triggering a re-render of this component whenever there is a page change.

Could anyone advise on how best to approach this, or if there’s a way to force the component to update correctly upon navigation? Any insights or suggestions would be appreciated.

---

_[View the full topic](https://meta.discourse.org/t/zendesk-button-not-updating-correctly-on-topic-change-without-page-refresh/335896)._
