mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-10 16:46:50 +01:00
added buttons to view documents in the browser. fixes #55
This commit is contained in:
parent
71fc785753
commit
dddd6f5503
5 changed files with 24 additions and 3 deletions
|
|
@ -24,4 +24,8 @@ export class DocumentCardSmallComponent implements OnInit {
|
|||
getDownloadUrl() {
|
||||
return this.documentService.getDownloadUrl(this.document.id)
|
||||
}
|
||||
|
||||
getPreviewUrl() {
|
||||
return this.documentService.getPreviewUrl(this.document.id)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue