mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fallback to image preview if PDF rendition now available (#2827)
This commit is contained in:
committed by
Eugenio Romano
parent
713e4bb33b
commit
e97a6de792
@@ -71,7 +71,7 @@ export class RenditionsService {
|
||||
}
|
||||
|
||||
getRenditionUrl(nodeId: string, encoding: string): string {
|
||||
return this.apiService.contentApi.getRenditionUrl(nodeId, 'pdf');
|
||||
return this.apiService.contentApi.getRenditionUrl(nodeId, encoding);
|
||||
}
|
||||
|
||||
getRendition(nodeId: string, encoding: string): Observable<RenditionEntry> {
|
||||
|
Reference in New Issue
Block a user