feat(pilot): add next TOs to a court

This commit is contained in:
2026-06-05 15:41:42 +02:00
parent 63737e46eb
commit 60f12cc333
4 changed files with 76 additions and 3 deletions
@@ -152,4 +152,10 @@ export class WaitingServiceJudgesService {
}
});
}
async getCurrentUmpire(): Promise<Umpire | undefined> {
const item = await db.waitingServiceJudges.where('order').equals(1).first();
return item ? db.umpires.get(item.serviceJudgeId) : undefined;
}
}