Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_pdfviewer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/PDFView.vue')
-rw-r--r--src/views/PDFView.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/PDFView.vue b/src/views/PDFView.vue
index eb77b0f..021fc8f 100644
--- a/src/views/PDFView.vue
+++ b/src/views/PDFView.vue
@@ -35,7 +35,7 @@ export default {
iframeSrc() {
return generateUrl('/apps/files_pdfviewer/?file={file}&canDownload={canDownload}', {
canDownload: canDownload() ? 1 : 0,
- file: this.davPath,
+ file: this.source ?? this.davPath,
})
},
},