fix document list

This commit is contained in:
Denys Vuika
2016-12-09 12:21:46 +00:00
parent d36a45255d
commit 5432cf69d5
2 changed files with 8 additions and 8 deletions

View File

@@ -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;

View File

@@ -126,10 +126,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) {
@@ -145,6 +141,10 @@ export class DocumentList implements OnInit, AfterContentInit {
}
}
get currentFolderPath(): string {
return this._path;
}
errorMessage;
actions: ContentActionModel[] = [];
emptyFolderTemplate: TemplateRef<any>;