@@ -36,7 +36,7 @@ type Review = {
|
||||
verdict: string;
|
||||
reason: string;
|
||||
created_at: string;
|
||||
snapshot: { name: string; purchasing_role: string };
|
||||
snapshot: { name: string; purchasing_role: string; profile_label?: string };
|
||||
};
|
||||
type Attempt = {
|
||||
id: number;
|
||||
@@ -456,9 +456,11 @@ export default function Recommendation(props: Props) {
|
||||
>
|
||||
<p>
|
||||
{review.snapshot.name} ·{' '}
|
||||
{roleLabels[
|
||||
review.snapshot.purchasing_role
|
||||
] ??
|
||||
{review.snapshot.profile_label ??
|
||||
roleLabels[
|
||||
review.snapshot
|
||||
.purchasing_role
|
||||
] ??
|
||||
review.snapshot
|
||||
.purchasing_role}{' '}
|
||||
·{' '}
|
||||
|
||||
Reference in New Issue
Block a user