FIX: Remove ignore user feature from `user-card-contents` component (#7104)

FIX: Remove ignore user feature from user-card-contents component (#7104)

Based on our discussions, we want to have the Ignore button will ONLY be on the User’s profile page.

diff --git a/app/assets/javascripts/discourse/components/user-card-contents.js.es6 b/app/assets/javascripts/discourse/components/user-card-contents.js.es6
index 4849a91..f81fc71 100644
--- a/app/assets/javascripts/discourse/components/user-card-contents.js.es6
+++ b/app/assets/javascripts/discourse/components/user-card-contents.js.es6
@@ -195,11 +195,6 @@ export default Ember.Component.extend(
         this._close();
       },
 
-      ignoreUser() {
-        this.get("user").ignore();
-        this._close();
-      },
-
       watchUser() {
         this.get("user").watch();
         this._close();
diff --git a/app/assets/javascripts/discourse/templates/components/user-card-contents.hbs b/app/assets/javascripts/discourse/templates/components/user-card-contents.hbs
index 8df8e1e..e9cb604 100644
--- a/app/assets/javascripts/discourse/templates/components/user-card-contents.hbs
+++ b/app/assets/javascripts/discourse/templates/components/user-card-contents.hbs
@@ -48,21 +48,6 @@
             icon="envelope"
             label="user.private_message"}}
         </li>
-        {{#if user.can_ignore_user}}
-          <li>
-            {{#if user.ignored}}
-              {{d-button class="btn-default"
-                         action=(action "watchUser")
-                         icon="far-eye"
-                         label="user.watch"}}
-            {{else}}
-              {{d-button class="btn-danger"
-                         action=(action "ignoreUser")
-                         icon="far-eye-slash"
-                         label="user.ignore"}}
-            {{/if}}
-          </li>
-        {{/if}}
       {{/if}}
 
       {{#if showFilter}}

GitHub sha: 079b0f4b