Skip to content

Commit

Permalink
Hotfix: Fix scoreboard check of index on base case (autolab#2185)
Browse files Browse the repository at this point in the history
fix scoreboard check of index on base case
  • Loading branch information
20wildmanj authored Aug 31, 2024
1 parent 0e9c580 commit af09f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/scoreboards/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<% end %>
<% else %>
<%# this should be guaranteed to be an array, but for redundancy, check that entry is array %>
<% if grade[:entry].is_a?(Array) && grade[:entry].length > i %>
<% if grade[:entry].is_a?(Array) %>
<% grade[:entry].each do |column| %>
<td><%= column %></td>
<% end %>
Expand Down

0 comments on commit af09f58

Please sign in to comment.