Skip to content

Commit

Permalink
Update category-header-widget.js.es6
Browse files Browse the repository at this point in the history
  • Loading branch information
radek3911 authored Dec 4, 2020
1 parent 6856e6a commit 04c0f73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions javascripts/discourse/widgets/category-header-widget.js.es6
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ export default createWidget("category-header-widget", {
html() {
const path = window.location.pathname;
var category = this.register
.lookup("controller:tags-show")
.get("tag");
.lookup("controller:navigation/category")
.get("category");

if (!category) {
return
Expand Down

0 comments on commit 04c0f73

Please sign in to comment.