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