diff --git a/src/components/files/BlobView.vue b/src/components/files/BlobView.vue index e723aa5..96b0bb1 100644 --- a/src/components/files/BlobView.vue +++ b/src/components/files/BlobView.vue @@ -74,7 +74,7 @@ onMounted(async () => { // Load the file into the OPFS if (isImage || isPdf) { const proj = await Workspace.setupAndGetActiveProj(router); - const path = await proj.syncFs(props.path); + const path = await proj.syncFs({ path: props.path }); const handle = await opfs.getFileHandle(path); const file = await handle.getFile();