diff --git a/app/views/competitions/enroll.html.erb b/app/views/competitions/enroll.html.erb index 8dcabc56..8aeb3b45 100644 --- a/app/views/competitions/enroll.html.erb +++ b/app/views/competitions/enroll.html.erb @@ -59,7 +59,7 @@
<% if @is_enroll.present? %>
- <% if @competition.max_num > 1 %> + <% if @competition.competition_staffs.sum(:maximum) > 1 %>
<% @is_enroll.each do |team| %>