Remove old unused user-card controller reference

The `visible` property of the user-card controller wasn't actually being used, so this was a no-op
This commit is contained in:
David Taylor 2023-03-17 12:39:27 +00:00
parent f410bd724e
commit 0c93a8c28b
No known key found for this signature in database
GPG Key ID: 46904C18B1D3F434

View File

@ -325,7 +325,6 @@ const TopicRoute = DiscourseRoute.extend({
this._super(...arguments);
this.searchService.set("searchContext", null);
this.controllerFor("user-card").set("visible", false);
const topicController = this.controllerFor("topic");
const postStream = topicController.get("model.postStream");