mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2682][ADF-2714][ADF-2719] fix issues folder navigation and messages releated (#3196)
* [ADF-2687] No message is displayed when deleting a folder from content action [ADF-2714] Not able to download a version of a file [ADF-2682] Number of page doesn't change when navigating to another folder Expand lock documentation * fix test init
This commit is contained in:
@@ -63,8 +63,8 @@ describe('ContentAction', () => {
|
||||
beforeEach(() => {
|
||||
contentService = TestBed.get(ContentService);
|
||||
nodeActionsService = new NodeActionsService(null, null, null);
|
||||
documentActions = new DocumentActionsService(nodeActionsService, null, null);
|
||||
folderActions = new FolderActionsService(nodeActionsService, null, contentService);
|
||||
documentActions = new DocumentActionsService(nodeActionsService, null, null, null);
|
||||
folderActions = new FolderActionsService(nodeActionsService, null, contentService, null);
|
||||
|
||||
documentList = (TestBed.createComponent(DocumentListComponent).componentInstance as DocumentListComponent);
|
||||
actionList = new ContentActionListComponent(documentList);
|
||||
|
@@ -465,7 +465,7 @@ export class DocumentListComponent implements OnInit, OnChanges, OnDestroy, Afte
|
||||
}
|
||||
|
||||
updateFolderData(node: MinimalNodeEntity): void {
|
||||
this.folderNode = null;
|
||||
this.resetNewFolderPagination();
|
||||
this.currentFolderId = node.entry.id;
|
||||
this.reload();
|
||||
this.folderChange.emit(new NodeEntryEvent(node.entry));
|
||||
|
Reference in New Issue
Block a user