mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Services list in readme and in the doc generator (#2091)
* add services list in readme and in the autogenerator * update tslint 5.5.0
This commit is contained in:
committed by
Eugenio Romano
parent
e944b92fc7
commit
8c28daf2cd
@@ -204,7 +204,7 @@ export class UploadDirective implements OnInit, OnDestroy {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
iterations.push(Promise.resolve(<FileInfo>{
|
||||
iterations.push(Promise.resolve(<FileInfo> {
|
||||
entry: null,
|
||||
file: items[i].getAsFile(),
|
||||
relativeFolder: '/'
|
||||
@@ -237,7 +237,7 @@ export class UploadDirective implements OnInit, OnDestroy {
|
||||
*/
|
||||
protected onSelectFiles(e: Event) {
|
||||
if (this.isClickMode()) {
|
||||
const input = (<HTMLInputElement>e.currentTarget);
|
||||
const input = (<HTMLInputElement> e.currentTarget);
|
||||
const files = FileUtils.toFileArray(input.files);
|
||||
this.onUploadFiles(files.map(file => <FileInfo> {
|
||||
entry: null,
|
||||
|
Reference in New Issue
Block a user