SKE-78 shuffle questions
This commit is contained in:
parent
51235211f6
commit
77b0c99296
@ -68,6 +68,7 @@ export class CompetitionDetailComponent extends AppComponentBase implements OnIn
|
||||
.pipe(finalize(() => { this.clearBusy(this.competitionDetailAreaId); }))
|
||||
.subscribe((data: [CompetitionDto, boolean, List<RankingPositionDto>]) => {
|
||||
this.competition = data[0];
|
||||
this.shuffleOptions(this.competition.questions);
|
||||
this.competition.questions.forEach((x) => this.shuffleOptions(x.questionOptions));
|
||||
this.pager.count = this.competition.questions.length;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user