Removed chat counters in admin account dashboard

• Removed:
- chat counters in admin account dashboard
This commit is contained in:
mgabdev 2021-01-25 16:00:49 -05:00
parent 154aaecc5f
commit 48ecd800cf

View File

@ -58,14 +58,14 @@
= link_to admin_account_joined_groups_path(@account.id) do = link_to admin_account_joined_groups_path(@account.id) do
.dashboard__counters__num= number_with_delimiter @account.group_removed_accounts.count .dashboard__counters__num= number_with_delimiter @account.group_removed_accounts.count
.dashboard__counters__label Removed by Groups .dashboard__counters__label Removed by Groups
%div -# %div
%a{href: "/admin/chat_messages?account_id=#{@account.id}"} -# %a{href: "/admin/chat_messages?account_id=#{@account.id}"}
.dashboard__counters__num= number_with_delimiter @account.chat_conversation_accounts_count -# .dashboard__counters__num= number_with_delimiter @account.chat_conversation_accounts_count
.dashboard__counters__label Chat Conversations -# .dashboard__counters__label Chat Conversations
%div -# %div
= link_to admin_account_chat_messages_path(@account.id) do -# = link_to admin_account_chat_messages_path(@account.id) do
.dashboard__counters__num= number_with_delimiter @account.chat_messages_count -# .dashboard__counters__num= number_with_delimiter @account.chat_messages_count
.dashboard__counters__label Chat Messages -# .dashboard__counters__label Chat Messages
- unless @account.local? && @account.user.nil? - unless @account.local? && @account.user.nil?
.table-wrapper .table-wrapper