diff --git a/ng2-components/ng2-alfresco-documentlist/src/components/breadcrumb/breadcrumb.component.ts b/ng2-components/ng2-alfresco-documentlist/src/components/breadcrumb/breadcrumb.component.ts index 99f1c5f031..441073d3dc 100644 --- a/ng2-components/ng2-alfresco-documentlist/src/components/breadcrumb/breadcrumb.component.ts +++ b/ng2-components/ng2-alfresco-documentlist/src/components/breadcrumb/breadcrumb.component.ts @@ -33,10 +33,6 @@ export class DocumentListBreadcrumb { private _currentFolderPath: string = '/'; - get currentFolderPath(): string { - return this._currentFolderPath; - } - @Input() set currentFolderPath(val: string) { if (this._currentFolderPath !== val) { @@ -54,6 +50,10 @@ export class DocumentListBreadcrumb { } } + get currentFolderPath(): string { + return this._currentFolderPath; + } + @Input() target: DocumentList; 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 1af99fffb6..59ec16d3ee 100644 --- a/ng2-components/ng2-alfresco-documentlist/src/components/document-list.ts +++ b/ng2-components/ng2-alfresco-documentlist/src/components/document-list.ts @@ -129,10 +129,6 @@ export class DocumentList implements OnInit, AfterContentInit { private _path = this.DEFAULT_ROOT_FOLDER; - get currentFolderPath(): string { - return this._path; - } - @Input() set currentFolderPath(value: string) { if (value !== this._path) { @@ -148,6 +144,10 @@ export class DocumentList implements OnInit, AfterContentInit { } } + get currentFolderPath(): string { + return this._path; + } + errorMessage; actions: ContentActionModel[] = []; emptyFolderTemplate: TemplateRef;