UX: hide chat button on user card when suspended (#20292)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{{#if this.chat.userCanDirectMessage}}
|
||||
{{#if (and this.chat.userCanDirectMessage (not @user.suspended))}}
|
||||
<DButton
|
||||
@class="btn-primary user-card-chat-btn"
|
||||
@action={{action "startChatting"}}
|
||||
|
||||
Reference in New Issue
Block a user