We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fd71b6 commit d88f3bfCopy full SHA for d88f3bf
src/pages/DatasetDetailPage.tsx
@@ -419,9 +419,13 @@ const DatasetDetailPage: React.FC = () => {
419
}
420
};
421
422
+ const fileName = typeof dataOrUrl === "string" ? extractFileName(dataOrUrl) : "";
423
+ console.log("🔍 Extracted fileName:", fileName);
424
+
425
const isPreviewableFile = (fileName: string): boolean => {
426
return /\.(nii\.gz|jdt|jdb|bmsh|jmsh|bnii)$/i.test(fileName);
427
428
+ console.log("🧪 isPreviewableFile:", isPreviewableFile(fileName));
429
430
if (isInternal) {
431
try {
0 commit comments