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 = {
|
const controllerOpts = {
|
||||||
discovery: controller(),
|
discovery: controller(),
|
||||||
discoveryTopics: controller("discovery/topics"),
|
|
||||||
router: service(),
|
router: service(),
|
||||||
|
|
||||||
period: null,
|
period: null,
|
||||||
canCreateTopicOnCategory: null,
|
canCreateTopicOnCategory: null,
|
||||||
|
|
||||||
canStar: alias("currentUser.id"),
|
canStar: alias("currentUser.id"),
|
||||||
showTopicPostBadges: not("discoveryTopics.new"),
|
showTopicPostBadges: not("new"),
|
||||||
redirectedReason: alias("currentUser.redirected_to_top.reason"),
|
redirectedReason: alias("currentUser.redirected_to_top.reason"),
|
||||||
|
|
||||||
expandGloballyPinned: false,
|
expandGloballyPinned: false,
|
||||||
|
|
Loading…
Reference in New Issue