Skip to content

Commit e9b3951

Browse files
Render the Viewer source, if available
Signed-off-by: Christoph Wurst <[email protected]>
1 parent f3fee55 commit e9b3951

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/views/PDFView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default {
3535
iframeSrc() {
3636
return generateUrl('/apps/files_pdfviewer/?file={file}&canDownload={canDownload}', {
3737
canDownload: canDownload() ? 1 : 0,
38-
file: this.davPath,
38+
file: this.source ?? this.davPath,
3939
})
4040
},
4141
},

0 commit comments

Comments
 (0)