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