diff --git a/src/components/ModelSteps/ScanResult/ScanResultCard/ScanResultCardPDF.jsx b/src/components/ModelSteps/ScanResult/ScanResultCard/ScanResultCardPDF.jsx index b322017d..569a36f5 100644 --- a/src/components/ModelSteps/ScanResult/ScanResultCard/ScanResultCardPDF.jsx +++ b/src/components/ModelSteps/ScanResult/ScanResultCard/ScanResultCardPDF.jsx @@ -10,12 +10,14 @@ import Typography from 'cozy-ui/transpiled/react/Typography' const ScanResultCardPDF = props => { const { currentFile, handleSelectedFile } = props + // Replace all "_" with a space in the filename for better readability + const fileName = currentFile.name.replaceAll('_', ' ') return (
- {currentFile.name} + {fileName}