diff --git a/app/assets/javascripts/discourse/models/category.js.es6 b/app/assets/javascripts/discourse/models/category.js.es6 index 85cb273207a..2de39b44e48 100644 --- a/app/assets/javascripts/discourse/models/category.js.es6 +++ b/app/assets/javascripts/discourse/models/category.js.es6 @@ -132,7 +132,6 @@ const Category = RestModel.extend({ allow_badges: this.allow_badges, custom_fields: this.custom_fields, topic_template: this.topic_template, - suppress_from_latest: this.suppress_from_latest, all_topics_wiki: this.all_topics_wiki, allowed_tags: this.allowed_tags, allowed_tag_groups: this.allowed_tag_groups, diff --git a/app/assets/javascripts/discourse/models/topic-tracking-state.js.es6 b/app/assets/javascripts/discourse/models/topic-tracking-state.js.es6 index 9a565f379d0..33a6d4d9d64 100644 --- a/app/assets/javascripts/discourse/models/topic-tracking-state.js.es6 +++ b/app/assets/javascripts/discourse/models/topic-tracking-state.js.es6 @@ -5,11 +5,9 @@ import { default as discourseComputed, on } from "discourse-common/utils/decorators"; -import { defaultHomepage } from "discourse/lib/utilities"; import PreloadStore from "preload-store"; import Category from "discourse/models/category"; import EmberObject from "@ember/object"; -import Site from "discourse/models/site"; import User from "discourse/models/user"; function isNew(topic) { @@ -144,18 +142,6 @@ const TopicTrackingState = EmberObject.extend({ } } - if (filter === defaultHomepage()) { - const suppressed_from_latest_category_ids = Site.currentProp( - "suppressed_from_latest_category_ids" - ); - if ( - suppressed_from_latest_category_ids && - suppressed_from_latest_category_ids.includes(data.payload.category_id) - ) { - return; - } - } - if ( ["all", "latest", "new"].includes(filter) && data.message_type === "new_topic" diff --git a/app/assets/javascripts/discourse/templates/components/edit-category-settings.hbs b/app/assets/javascripts/discourse/templates/components/edit-category-settings.hbs index 8c1f5472d33..1f65507a768 100644 --- a/app/assets/javascripts/discourse/templates/components/edit-category-settings.hbs +++ b/app/assets/javascripts/discourse/templates/components/edit-category-settings.hbs @@ -58,13 +58,6 @@ {{/if}} -
- -
-