mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
ask for thumbnail redintion #549
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
[contextMenuActions]="true"
|
||||
[contentActions]="true"
|
||||
(preview)="showFile($event)"
|
||||
[thumbnails]="true"
|
||||
(folderChange)="onFolderChanged($event)">
|
||||
<!--
|
||||
<empty-folder-content>
|
||||
|
@@ -92,7 +92,7 @@ export class UploadService {
|
||||
uploadingFileModel.setUploading();
|
||||
|
||||
let promiseUpload = this.authService.getAlfrescoApi().
|
||||
upload.uploadFile(uploadingFileModel.file, directory)
|
||||
upload.uploadFile(uploadingFileModel.file, directory, null, null, {renditions: 'doclib'})
|
||||
.on('progress', (progress: any) => {
|
||||
uploadingFileModel.setProgres(progress);
|
||||
this.updateFileListStream(this.queue);
|
||||
|
Reference in New Issue
Block a user