DEV: Remove hasBlock from user-info component (#10415)

DEV: Remove hasBlock from user-info component (#10415)

diff --git a/app/assets/javascripts/discourse/app/components/user-info.js b/app/assets/javascripts/discourse/app/components/user-info.js
index 2de553d..3aa0f66 100644
--- a/app/assets/javascripts/discourse/app/components/user-info.js
+++ b/app/assets/javascripts/discourse/app/components/user-info.js
@@ -11,17 +11,13 @@ export default Component.extend({
   classNameBindings: [":user-info", "size"],
   attributeBindings: ["data-username"],
   size: "small",
+  "data-username": alias("user.username"),
 
   @discourseComputed("user.username")
   userPath(username) {
     return userPath(username);
   },
 
-  "data-username": alias("user.username"),
-
-  // TODO: In later ember releases `hasBlock` works without this
-  hasBlock: alias("template"),
-
   @discourseComputed("user.name", "user.username")
   name(name, username) {
     if (name && normalize(username) !== normalize(name)) {

GitHub sha: cef51b34

This commit appears in #10415 which was approved by davidtaylorhq. It was merged by markvanlan.