diff --git a/backend/templates/includes/components/chat_title.html b/backend/templates/includes/components/chat_title.html index 46d71f8e..59e35f93 100644 --- a/backend/templates/includes/components/chat_title.html +++ b/backend/templates/includes/components/chat_title.html @@ -26,11 +26,6 @@ {% endif %} - {# Количество сообщений #} - - {{ chat.messages.count }} - - {# Счётчик непрочитанных #} +{{ chat.unread_count|default:0 }}