fix: CSS selectors for listing icons (#3277)

This commit is contained in:
Andrés Bono authored and GitHub committed 2024-06-08 21:54:06 +02:00
1 parent 6ca3d5a573
commit 2a90cdfdaf
2 files changed
+10 -14

No files matched your search

@@ -275,12 +275,10 @@ const open = () => {
};
const getExtension = (fileName: string): string => {
const lastDotIndex = fileName.lastIndexOf('.');
const lastDotIndex = fileName.lastIndexOf(".");
if (lastDotIndex === -1) {
return fileName;
}
return fileName.substring(lastDotIndex );
return fileName.substring(lastDotIndex);
};
</script>