files_pdfviewer
files_pdfviewer copied to clipboard
Fix viewing of file versions
Fixes the issue reported at https://github.com/nextcloud/files_pdfviewer/issues/1269
When trying to look at older versions of a pdf file, there was always an error as this.file was undefined. By adding a check for this to isDownloadable() this starts to work without an issue