From 21c20e5de9d527f28f1f017218853f0e79f9c5f4 Mon Sep 17 00:00:00 2001 From: Will Abson Date: Wed, 11 May 2016 17:23:22 +0100 Subject: [PATCH] Allow Company Home space to be used as start folder for the doclist Refs #7 --- .../ng2-alfresco-documentlist/src/components/document-list.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ng2-components/ng2-alfresco-documentlist/src/components/document-list.ts b/ng2-components/ng2-alfresco-documentlist/src/components/document-list.ts index 2af180f32f..9c8fa091bc 100644 --- a/ng2-components/ng2-alfresco-documentlist/src/components/document-list.ts +++ b/ng2-components/ng2-alfresco-documentlist/src/components/document-list.ts @@ -221,7 +221,7 @@ export class DocumentList implements OnInit, AfterViewChecked, AfterContentInit * @param path Node path */ displayFolderContent(path) { - if (path) { + if (path !== null) { this.currentFolderPath = path; this._alfrescoService .getFolder(path)