mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:17:08 +08:00
FIX: prevents self-reference to discoveryTopics from discoveryTopics (#16114)
This commit is contained in:
parent
6b8c622762
commit
36e7163d16
|
@ -15,14 +15,13 @@ import { action } from "@ember/object";
|
|||
|
||||
const controllerOpts = {
|
||||
discovery: controller(),
|
||||
discoveryTopics: controller("discovery/topics"),
|
||||
router: service(),
|
||||
|
||||
period: null,
|
||||
canCreateTopicOnCategory: null,
|
||||
|
||||
canStar: alias("currentUser.id"),
|
||||
showTopicPostBadges: not("discoveryTopics.new"),
|
||||
showTopicPostBadges: not("new"),
|
||||
redirectedReason: alias("currentUser.redirected_to_top.reason"),
|
||||
|
||||
expandGloballyPinned: false,
|
||||
|
|
Loading…
Reference in New Issue
Block a user