fix: services warnings in review

This commit is contained in:
Ivan Rezchikov
2026-07-26 18:36:12 +03:00
parent e46235600b
commit 2e4ea8a052
@@ -72,14 +72,14 @@ export default function ApplicationCard({ application, onClose }: { application:
</div>)}
<div className="flex flex-col gap-1">
<h4 className="mb-1">Personal information</h4>
{ application.nameMismatch && (
{ application.status === "PENDING" && application.nameMismatch && (
<Alert className="mb-2" variant="warning">
<TriangleAlertIcon />
<AlertTitle>Name mismatch</AlertTitle>
<AlertDescription className="w-fit max-w-full">The name on this application differs from the applicant&apos;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>
)}
{ application.previousCitizenship && (
{ application.status === "PENDING" && application.previousCitizenship && (
<Alert className="mb-2" variant="warning">
<TriangleAlertIcon />
<AlertTitle>Previous citizenship holder</AlertTitle>