Skip to content

Commit

Permalink
Fix: Update the file previews for jpg, jpeg, and png file formats
Browse files Browse the repository at this point in the history
  • Loading branch information
PintoGideon committed May 7, 2024
1 parent 9c0bc49 commit a3cb554
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/components/Preview/FileDetailView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,18 @@ export interface ActionState {
[key: string]: boolean | string;
}

const fileTypes = ["nii", "dcm", "fsm", "crv", "smoothwm", "pial", "nii.gz"];
const fileTypes = [
"nii",
"dcm",
"fsm",
"crv",
"smoothwm",
"pial",
"nii.gz",
"jpg",
"png",
"jpeg",
];

const FileDetailView = (props: AllProps) => {
const [tagInfo, setTagInfo] = React.useState<any>();
Expand Down

0 comments on commit a3cb554

Please sign in to comment.