mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-325] added attach folder widget (#2831)
[ADF-325] added new attach folder widget
This commit is contained in:
@@ -455,7 +455,7 @@ export class ViewerComponent implements OnChanges {
|
||||
this.urlFileContent = this.apiService.contentApi.getRenditionUrl(nodeId, 'pdf');
|
||||
} else if (status === 'NOT_CREATED') {
|
||||
try {
|
||||
await this.renditionService.convert(nodeId, 'pdf').toPromise()
|
||||
await this.renditionService.convert(nodeId, 'pdf').toPromise();
|
||||
this.viewerType = 'pdf';
|
||||
this.urlFileContent = this.apiService.contentApi.getRenditionUrl(nodeId, 'pdf');
|
||||
} catch {
|
||||
|
Reference in New Issue
Block a user