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:
@@ -54,7 +54,7 @@ import { CardViewUpdateService } from './services/card-view-update.service';
|
||||
MatIconModule,
|
||||
MatButtonModule,
|
||||
MatDatetimepickerModule,
|
||||
MatNativeDatetimeModule
|
||||
MatNativeDatetimeModule
|
||||
],
|
||||
declarations: [
|
||||
CardViewComponent,
|
||||
@@ -69,7 +69,7 @@ import { CardViewUpdateService } from './services/card-view-update.service';
|
||||
CardViewBoolItemComponent,
|
||||
CardViewDateItemComponent,
|
||||
CardViewMapItemComponent,
|
||||
CardViewTextItemComponent
|
||||
CardViewTextItemComponent
|
||||
],
|
||||
exports: [
|
||||
CardViewComponent,
|
||||
|
@@ -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