added buttons to view documents in the browser. fixes #55

This commit is contained in:
jonaswinkler
2020-11-28 14:50:14 +01:00
parent 71fc785753
commit dddd6f5503
5 changed files with 24 additions and 3 deletions

View File

@@ -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)
}
}