From e9b395188b7ad9de4d31462d42cc9e49413e565a Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Fri, 19 Aug 2022 14:00:26 +0200 Subject: [PATCH] Render the Viewer source, if available Signed-off-by: Christoph Wurst --- src/views/PDFView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/PDFView.vue b/src/views/PDFView.vue index eb77b0fb..021fc8fc 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, }) }, },