diff --git a/app/assets/javascripts/discourse/app/controllers/tag-show.js b/app/assets/javascripts/discourse/app/controllers/tag-show.js index 86d8258da9..5d19259d6b 100644 --- a/app/assets/javascripts/discourse/app/controllers/tag-show.js +++ b/app/assets/javascripts/discourse/app/controllers/tag-show.js @@ -28,8 +28,6 @@ export default Controller.extend(BulkTopicSelection, FilterModeMixin, { q: null, showInfo: false, - categories: alias("site.categoriesList"), - @discourseComputed("list", "list.draft") createTopicLabel(list, listDraft) { return listDraft ? "topic.open_draft" : "topic.create"; @@ -73,11 +71,6 @@ export default Controller.extend(BulkTopicSelection, FilterModeMixin, { return this.siteSettings.show_filter_by_tag; }, - @discourseComputed("additionalTags", "category", "tag.id") - showToggleInfo(additionalTags, category, tagId) { - return !additionalTags && !category && tagId !== "none"; - }, - loadMoreTopics() { return this.list.loadMore(); }, diff --git a/app/assets/javascripts/discourse/app/templates/tags/show.hbs b/app/assets/javascripts/discourse/app/templates/tags/show.hbs index df6a757526..a064771eb2 100644 --- a/app/assets/javascripts/discourse/app/templates/tags/show.hbs +++ b/app/assets/javascripts/discourse/app/templates/tags/show.hbs @@ -21,11 +21,9 @@ canCreateTopic=canCreateTopic hasDraft=draft createTopic=(route-action "createTopic") - categories=categories category=category tag=tag noSubcategories=noSubcategories - showToggleInfo=showToggleInfo tagNotification=tagNotification additionalTags=additionalTags showInfo=showInfo