mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
#242 Reworked breadcrumb, deprecated up button
- reworked breadcrumb - deprecated up button in favour of external implementations - removed hardcoded “document library” path from document list (always start with root) - always dealing with ‘absolute’ paths - simplified upload demo
This commit is contained in:
@@ -316,21 +316,6 @@ describe('DocumentList', () => {
|
||||
expect(documentList.getNodePath(null)).toBe(null);
|
||||
});
|
||||
|
||||
/*
|
||||
it('should get node path', () => {
|
||||
let location = new LocationEntity();
|
||||
location.site = 'swsdp';
|
||||
location.container = 'documentLibrary';
|
||||
location.path = '\/';
|
||||
|
||||
let node = new DocumentEntity();
|
||||
node.fileName = 'fileName';
|
||||
node.location = location;
|
||||
|
||||
expect(documentList.getNodePath(node)).toBe('swsdp/documentLibrary/fileName');
|
||||
});
|
||||
*/
|
||||
|
||||
it('should return root object value', () => {
|
||||
let target = {
|
||||
key1: 'value1'
|
||||
|
Reference in New Issue
Block a user