Fix upcoming matches not returning for group stage
This commit is contained in:
parent
8d438946fe
commit
a67ef86dca
|
|
@ -26,6 +26,8 @@ class MatchesController < ApplicationController
|
|||
end
|
||||
end
|
||||
@tournament.stages.find_by(level: next_level).matches
|
||||
else
|
||||
upcoming_matches
|
||||
end
|
||||
else
|
||||
@tournament.matches.select do |m|
|
||||
|
|
|
|||
Loading…
Reference in New Issue