feat: add local DICOM and canvas PDF previews
This commit is contained in:
1 parent
b569f68300
commit
dd29258828
18 files changed
+960
-6
No files matched your search
@@ -84,6 +84,10 @@ const currentView = computed(() => {
|
||||
|
||||
if (fileStore.req.isDir) {
|
||||
return FileListing;
|
||||
} else if (
|
||||
[".dcm", ".dicom", ".pdf"].includes(fileStore.req.extension.toLowerCase())
|
||||
) {
|
||||
return Preview;
|
||||
} else if (fileStore.req.extension.toLowerCase() === ".csv") {
|
||||
// CSV files use Preview for table view, unless ?edit=true
|
||||
if (route.query.edit === "true") {
|
||||
|
||||
Reference in new issue
Block a user