From eba89de1c22f25b4988857c7fe4445edca616c97 Mon Sep 17 00:00:00 2001 From: mauriziovitale84 Date: Tue, 6 Dec 2016 16:57:18 +0000 Subject: [PATCH] #384 fix compilation problem --- .../src/components/breadcrumb/breadcrumb.component.ts | 8 ++++---- .../src/components/document-list.ts | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) 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;