[ADF-2455] fix properly fall back datatable thumbnail

fix search node selector
drop down list style
This commit is contained in:
Eugenio Romano
2018-04-17 01:19:59 +01:00
parent c8cbc8d645
commit 0a8438954b
10 changed files with 41 additions and 20 deletions

View File

@@ -374,12 +374,15 @@ export class DocumentListComponent implements OnInit, OnChanges, OnDestroy, Afte
this.resetNewFolderPagination();
this.loadFolder();
} else if (changes.currentFolderId &&
changes.currentFolderId.currentValue &&
changes.currentFolderId.currentValue !== changes.currentFolderId.previousValue) {
changes.currentFolderId.currentValue &&
changes.currentFolderId.currentValue !== changes.currentFolderId.previousValue) {
this.resetNewFolderPagination();
this.loadFolder();
} else if (this.data) {
if (changes.node && changes.node.currentValue) {
if (changes.node.currentValue.list.pagination) {
changes.node.currentValue.list.pagination.skipCount = 0;
}
this.data.loadPage(changes.node.currentValue);
this.onDataReady(changes.node.currentValue);
} else if (changes.rowFilter) {
@@ -742,7 +745,7 @@ export class DocumentListComponent implements OnInit, OnChanges, OnDestroy, Afte
this.currentFolderId = nodeId;
this.resetNewFolderPagination();
this.loadFolder();
this.folderChange.emit(new NodeEntryEvent({id: nodeId}));
this.folderChange.emit(new NodeEntryEvent({ id: nodeId }));
}
private resetNewFolderPagination() {