diff --git a/app/src/components/FilePreview.js b/app/src/components/FilePreview.js index c276e92b..6d84b7b8 100644 --- a/app/src/components/FilePreview.js +++ b/app/src/components/FilePreview.js @@ -10,6 +10,7 @@ import {Button, Modal, ModalActions, ModalContent, ModalHeader} from "./Theme"; import {toast} from "react-semantic-toasts-2"; import {useOneQuery} from "../hooks/customHooks"; import {ShareButton} from "./Share"; +import {pathDirectory} from "./FileBrowser"; function getMediaPathURL(previewFile) { if (previewFile['primary_path']) { @@ -249,8 +250,10 @@ export function FilePreviewProvider({children}) { onRemove={localRemoveTag}/> : null; const downloadButton = downloadURL ? - +