diff --git a/javascripts/discourse/connectors/topic-above-post-stream/topic-in-gated-category.hbs b/javascripts/discourse/connectors/topic-above-post-stream/topic-in-gated-category.hbs index 720c979..0301b7f 100644 --- a/javascripts/discourse/connectors/topic-above-post-stream/topic-in-gated-category.hbs +++ b/javascripts/discourse/connectors/topic-above-post-stream/topic-in-gated-category.hbs @@ -1 +1,4 @@ -{{topic-in-gated-category categoryId=model.category_id tags=model.tags}} \ No newline at end of file +{{topic-in-gated-category + categoryId=this.model.category_id + tags=this.model.tags +}} \ No newline at end of file diff --git a/javascripts/discourse/templates/components/topic-in-gated-category.hbs b/javascripts/discourse/templates/components/topic-in-gated-category.hbs index 11ff573..8f4a925 100644 --- a/javascripts/discourse/templates/components/topic-in-gated-category.hbs +++ b/javascripts/discourse/templates/components/topic-in-gated-category.hbs @@ -1,4 +1,4 @@ -{{#if shouldShow}} +{{#if this.shouldShow}}