# Clickable Topic

**URL:** https://meta.discourse.org/t/clickable-topic/183339
**Category:** Theme component
**Tags:** official, clickable-topic
**Created:** [March 15, 2021, 6:15pm UTC](https://meta.discourse.org/t/clickable-topic/183339 "2021-03-15T18:15:51Z")
**Posts on this page:** 1
**Showing post:** 16

<div class="post-metadata">

### Author: ![kinetiksoft](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kinetiksoft/32/229578_2.png) [@kinetiksoft](https://meta.discourse.org/u/kinetiksoft)
#### Post date: [August 7, 2023, 11:06am UTC](https://meta.discourse.org/t/clickable-topic/183339/16 "2023-08-07T11:06:16Z")

</div>

## Broken now.

We relied on this component to make **Categories + Latest** view (default in our case) topic cards clickable. Since today’s update to the latest 3.1.0beta8 (now it shows as 3.2.0.beta1-dev), the component stopped working correctly.

Now the active state of the cursor remains as clickable, but topic area is not clickable. With browser’s console opened there’s an error, which may help developers to identify the problem:

> Uncaught TypeError: this.router is undefined

```plaintext
function navigateToTopic(topic, href) {
    if (this.siteSettings.page_loading_indicator !== "slider") {
      // With the slider, it feels nicer for the header to update once the rest of the topic content loads,
      // so skip setting it early.
      this.appEvents.trigger("header:update-topic", topic);
    }
    this.session.set("lastTopicIdViewed", {
      topicId: topic.id,
      historyUuid: this.router.location.getState?.().uuid
    });
    _url.default.routeTo(href || topic.get("url"));
    return false;
  }

```

The error thrown for line:

> historyUuid: this.router.location.getState?.().uuid

 ![Screenshot 2023-08-07 at 10.56.48@2x](https://global.discourse-cdn.com/meta/original/4X/b/6/b/b6bd3c28a91420c1ec1899c108f9ca32c03238ab.png)

May it be related to Ember upgrades planned/ongoing in the core?

> [@Upgrading Discourse to Ember 4](https://meta.discourse.org/t/upgrading-discourse-to-ember-4/225032):
>
> We want to update the Ember version used in Discourse. Right now, we’re on 3.15, and we’d like to get to 4.1 We’ve set a goal to finish this work by the end of this year. Please note that this topic is a roadmap, and all the plans and estimates are tentative. This topic is not intended to house any significant discussions about particular upgrades or changes. So, let’s keep the conversation here a bit focused. Questions about how these updates will affect your site/plugin/theme are off-topic. …

---

_[View the full topic](https://meta.discourse.org/t/clickable-topic/183339)._
