Skip to content

Commit

Permalink
removed unwanted changes
Browse files Browse the repository at this point in the history
  • Loading branch information
RLCorp committed Jan 18, 2024
1 parent df01fd7 commit ad68a00
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -430,30 +430,12 @@ export abstract class OfficeBasePageComponent extends PracticeableBasePageCompon
withLatestFrom(category$),
map(([testData, category]) =>
this.faultSummaryProvider.getDangerousFaultsList(testData, category as TestCategory)),
withLatestFrom(category$),
map(([value, category]) => {
value.map(fault => {
if (fault.competencyDisplayName === 'Show Me/Tell Me' && category === TestCategory.B) {
fault.competencyDisplayName = 'Show Me Question';
}
})
return value;
}),
),
seriousFaults$: currentTest$.pipe(
select(getTestData),
withLatestFrom(category$),
map(([testData, category]) =>
this.faultSummaryProvider.getSeriousFaultsList(testData, category as TestCategory)),
withLatestFrom(category$),
map(([value, category]) => {
value.map(fault => {
if (fault.competencyDisplayName === 'Show Me/Tell Me' && category === TestCategory.B) {
fault.competencyDisplayName = 'Show Me Question';
}
})
return value;
}),
),
drivingFaults$: currentTest$.pipe(
select(getTestData),
Expand Down

0 comments on commit ad68a00

Please sign in to comment.