logs good, replacement good

This commit is contained in:
nBiqoz
2025-09-07 18:01:14 +02:00
parent 3a84da5c74
commit 0360e1ca9f
3 changed files with 147 additions and 74 deletions

View File

@@ -111,7 +111,7 @@ export const useAnonymization = ({
end: end,
text: detectedText,
replacementValue: replacementValues[detectedText] || `[${entity_type}]`,
displayName: replacementValues[detectedText] || `[${entity_type}]`, // Ajouter cette ligne
displayName: replacementValues[detectedText], // CORRECTION: Supprimer le fallback
customColor: undefined,
});
}