diff --git a/frontend/src/components/files/ListingItem.vue b/frontend/src/components/files/ListingItem.vue index 8cb7d962..4e038940 100644 --- a/frontend/src/components/files/ListingItem.vue +++ b/frontend/src/components/files/ListingItem.vue @@ -275,7 +275,7 @@ const open = () => { const getExtension = (fileName: string): string => { const lastDotIndex = fileName.lastIndexOf('.'); if (lastDotIndex === -1) { - return ''; + return fileName; } return fileName.substring(lastDotIndex ); };