add host and token to document list demo

This commit is contained in:
Mario Romano
2016-06-02 17:03:39 +01:00
parent f9aa5067cd
commit 956f8e9e81
3 changed files with 35 additions and 10 deletions

View File

@@ -97,6 +97,9 @@ export class DocumentList implements OnInit, AfterViewChecked, AfterContentInit,
direction: 'asc'
};
constructor(
private _alfrescoService: AlfrescoService) {}
/**
* Determines whether navigation to parent folder is available.
* @returns {boolean}
@@ -106,9 +109,6 @@ export class DocumentList implements OnInit, AfterViewChecked, AfterContentInit,
this.currentFolderPath !== this.rootFolder.path;
}
constructor(
private _alfrescoService: AlfrescoService) {}
ngOnInit() {
this.changePath(this.currentFolderPath);
}