cleanup demo page

This commit is contained in:
Denys Vuika
2017-01-03 19:47:04 +00:00
parent 40b9baaa64
commit 82e0a2016d
2 changed files with 5 additions and 34 deletions

View File

@@ -43,19 +43,8 @@ export class FilesComponent implements OnInit {
folderUpload: boolean = false;
acceptedFilesTypeShow: boolean = false;
versioning: boolean = false;
acceptedFilesType: string = '.jpg,.pdf,.js';
get uploadRootFolderId(): string {
return this.currentFolderId;
}
// TODO: fix
get uploadFolderPath(): string {
// return this.currentFolderId ? '/' : this.currentPath;
return null;
}
@ViewChild(DocumentList)
documentList: DocumentList;
@@ -88,13 +77,6 @@ export class FilesComponent implements OnInit {
}
}
onFolderChanged(event?: any) {
if (event) {
// this.currentPath = event.path;
console.log(event);
}
}
toggleMultipleFileUpload() {
this.multipleFileUpload = !this.multipleFileUpload;
return this.multipleFileUpload;