Skip to content

Commit

Permalink
Render the Viewer source, if available
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
  • Loading branch information
ChristophWurst committed Aug 19, 2022
1 parent f3fee55 commit e9b3951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/PDFView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
},
},
Expand Down

0 comments on commit e9b3951

Please sign in to comment.