Merged in feature/ExamGenRework (pull request #126)

Removed the exclusion warning when there is only duplicated users as there is already a warning message for that

Approved-by: Tiago Ribeiro
This commit is contained in:
carlos.mesquita
2024-12-16 15:30:10 +00:00
committed by Tiago Ribeiro

View File

@@ -139,7 +139,7 @@ const UserImportSummary: React.FC<Props> = ({ parsedExcel, newUsers, enlistedUse
</div>
)}
</div>
{(enlistedUsers.length > 0 || (duplicateRows && duplicateRows.count > 0) || errorCount > 0) && (
{((duplicateRows && duplicateRows.count > 0) || errorCount > 0) && (
<div className="mt-6 rounded-lg border border-red-100 bg-white p-6">
<div className="flex items-start gap-4">
<div className="mt-1">