diff --git a/app/views/users/_user_message_left.html.erb b/app/views/users/_user_message_left.html.erb index e250d577f..a48fc17c7 100644 --- a/app/views/users/_user_message_left.html.erb +++ b/app/views/users/_user_message_left.html.erb @@ -17,9 +17,11 @@
  • <%= link_to "消息", user_message_path(current_user), remote: true, class: "ml30" %> - <%= @unred_all_messages %> + <% if @unred_all_messages > 0 %> + <%= @unred_all_messages %> + <% end %>
  • 私信
  • -
    \ No newline at end of file +