|
|
|
|
@ -606,6 +606,10 @@ final public class GroupStage: BaseGroupStage, SideStorable { |
|
|
|
|
guard hasEnded() else { return nil } |
|
|
|
|
return teams(true).firstIndex(of: team) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public func computedStartDate() -> Date? { |
|
|
|
|
return _matches().sorted(by: \.computedStartDateForSorting).first?.startDate |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override func deleteDependencies(store: Store, actionOption: ActionOption) { |
|
|
|
|
store.deleteDependencies(type: Match.self, actionOption: actionOption) { $0.groupStage == self.id } |
|
|
|
|
|