Commit 4a57db1e authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FIX #18940 TIME 0:10 Attachment cannot be previewed

parent f530f55f
...@@ -182,6 +182,9 @@ export class DocumentViewerComponent implements OnInit, OnDestroy { ...@@ -182,6 +182,9 @@ export class DocumentViewerComponent implements OnInit, OnDestroy {
} }
ngOnInit() { ngOnInit() {
if (this.downloadActions === undefined) {
this.downloadActions = [];
}
this.setEditor(); this.setEditor();
this.http.get('../rest/indexing/fileInformations').pipe( this.http.get('../rest/indexing/fileInformations').pipe(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment