fix: services warnings in review
This commit is contained in:
@@ -72,14 +72,14 @@ export default function ApplicationCard({ application, onClose }: { application:
|
|||||||
</div>)}
|
</div>)}
|
||||||
<div className="flex flex-col gap-1">
|
<div className="flex flex-col gap-1">
|
||||||
<h4 className="mb-1">Personal information</h4>
|
<h4 className="mb-1">Personal information</h4>
|
||||||
{ application.nameMismatch && (
|
{ application.status === "PENDING" && application.nameMismatch && (
|
||||||
<Alert className="mb-2" variant="warning">
|
<Alert className="mb-2" variant="warning">
|
||||||
<TriangleAlertIcon />
|
<TriangleAlertIcon />
|
||||||
<AlertTitle>Name mismatch</AlertTitle>
|
<AlertTitle>Name mismatch</AlertTitle>
|
||||||
<AlertDescription className="w-fit max-w-full">The name on this application differs from the applicant's Kotosoft ID. Verify before approving.</AlertDescription>
|
<AlertDescription className="w-fit max-w-full">The name on this application differs from the applicant's Kotosoft ID. Verify before approving.</AlertDescription>
|
||||||
</Alert>
|
</Alert>
|
||||||
)}
|
)}
|
||||||
{ application.previousCitizenship && (
|
{ application.status === "PENDING" && application.previousCitizenship && (
|
||||||
<Alert className="mb-2" variant="warning">
|
<Alert className="mb-2" variant="warning">
|
||||||
<TriangleAlertIcon />
|
<TriangleAlertIcon />
|
||||||
<AlertTitle>Previous citizenship holder</AlertTitle>
|
<AlertTitle>Previous citizenship holder</AlertTitle>
|
||||||
|
|||||||
Reference in New Issue
Block a user