website refactor
This commit is contained in:
@@ -777,7 +777,14 @@ export class LeagueService {
|
||||
throw new Error(fullConfigResult.unwrapErr().code);
|
||||
}
|
||||
|
||||
await this.getLeagueOwnerSummaryUseCase.execute({ leagueId });
|
||||
// Present the full config result
|
||||
this.leagueConfigPresenter.present(fullConfigResult.unwrap());
|
||||
|
||||
const ownerSummaryResult = await this.getLeagueOwnerSummaryUseCase.execute({ leagueId });
|
||||
if (ownerSummaryResult.isErr()) {
|
||||
throw new Error(ownerSummaryResult.unwrapErr().code);
|
||||
}
|
||||
this.getLeagueOwnerSummaryPresenter.present(ownerSummaryResult.unwrap());
|
||||
const ownerSummary = this.getLeagueOwnerSummaryPresenter.getViewModel()!;
|
||||
|
||||
const configForm = this.leagueConfigPresenter.getViewModel();
|
||||
|
||||
Reference in New Issue
Block a user