2
0

🐛 (fileUpload) Fix results file display if name contains comma

Closes #955
This commit is contained in:
Baptiste Arnaud
2023-11-14 17:15:21 +01:00
parent fd00b6fdd5
commit bd198a4e0f
5 changed files with 12 additions and 7 deletions

View File

@@ -10,7 +10,7 @@ export const FileLinks = ({ fileNamesStr }: { fileNamesStr: string }) => {
<HStack as={WrapItem} key={name}>
<FileIcon />
<TextLink href={name} isExternal>
{name.split('/').pop()}
{decodeURIComponent(name.split('/').pop() ?? '')}
</TextLink>
</HStack>
))}