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
.dashboard__counters__num= number_with_delimiter @account.group_removed_accounts.count
.dashboard__counters__label Removed by Groups
%div
%a{href: "/admin/chat_messages?account_id=#{@account.id}"}
.dashboard__counters__num= number_with_delimiter @account.chat_conversation_accounts_count
.dashboard__counters__label Chat Conversations
%div
= link_to admin_account_chat_messages_path(@account.id) do
.dashboard__counters__num= number_with_delimiter @account.chat_messages_count
.dashboard__counters__label Chat Messages
-# %div
-# %a{href: "/admin/chat_messages?account_id=#{@account.id}"}
-# .dashboard__counters__num= number_with_delimiter @account.chat_conversation_accounts_count
-# .dashboard__counters__label Chat Conversations
-# %div
-# = link_to admin_account_chat_messages_path(@account.id) do
-# .dashboard__counters__num= number_with_delimiter @account.chat_messages_count
-# .dashboard__counters__label Chat Messages
- unless @account.local? && @account.user.nil?
.table-wrapper