fix(assessment): return confirmed categories with their basis and label demonstration categories
This commit is contained in:
1 parent
623d41b969
commit
d4903a3796
77 files changed
+1441
-288
No files matched your search
@@ -5,12 +5,12 @@ import type {
|
||||
} from "../../../shared/api/schemas";
|
||||
import type { TrustLevelValue } from "../../../shared/ui";
|
||||
import {
|
||||
confirmationLabel,
|
||||
experienceBandLabels,
|
||||
gradeLabels,
|
||||
salaryCompatibilityLabels,
|
||||
specializationLabels,
|
||||
stackLabels,
|
||||
strengthLabels,
|
||||
workFormatLabels,
|
||||
} from "./labels";
|
||||
|
||||
@@ -40,7 +40,7 @@ export function presentCard(card: AnonymousCardContent): CardDetails {
|
||||
card.categories?.map((category) => ({
|
||||
specialization: specializationLabels[category.specialization],
|
||||
grade: gradeLabels[category.grade],
|
||||
strength: strengthLabels[category.strength],
|
||||
strength: confirmationLabel(category.basis, category.strength),
|
||||
})) ?? null,
|
||||
selfAssessments:
|
||||
card.self_assessment?.map((item) => ({
|
||||
|
||||
Reference in new issue
Block a user