mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3233] fixed demo shell filtering for files on drag&drop] (#3504)
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
<div class="document-list-container" fxLayout="row" fxLayoutAlign="start stretch" fxLayoutGap="16px">
|
<div class="document-list-container" fxLayout="row" fxLayoutAlign="start stretch" fxLayoutGap="16px">
|
||||||
<adf-upload-drag-area fxFlex="1 1 auto"
|
<adf-upload-drag-area fxFlex="1 1 auto"
|
||||||
[disabled]="disableDragArea"
|
[disabled]="disableDragArea"
|
||||||
[acceptedFilesType]="acceptedFilesType"
|
[acceptedFilesType]="getFileFiltering()"
|
||||||
[rootFolderId]="getDocumentListCurrentFolderId()"
|
[rootFolderId]="getDocumentListCurrentFolderId()"
|
||||||
[versioning]="versioning"
|
[versioning]="versioning"
|
||||||
[adf-node-permission]="'create'"
|
[adf-node-permission]="'create'"
|
||||||
|
@@ -551,4 +551,8 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
|
|||||||
runCustomAction(event) {
|
runCustomAction(event) {
|
||||||
console.log(event);
|
console.log(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
getFileFiltering() {
|
||||||
|
return this.acceptedFilesTypeShow ? this.acceptedFilesType : '*';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user