mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-2921] New Icon for Smart Folders (#3747)
* [ADF-2921] New Icon for Smart Folders * [ADF-2921] Smart folder icon now matches current theme * [ADF-2921] Unit tests added and fixed * [ADF-2921] Improved logic on Share Datatable Adapter
This commit is contained in:
committed by
Eugenio Romano
parent
0569065684
commit
a6e61ac3a4
@@ -55,5 +55,19 @@ export class FolderNode extends NodeMinimalEntry {
|
||||
this.entry.isFolder = true;
|
||||
this.entry.name = name;
|
||||
this.entry.path = new PathInfoEntity();
|
||||
this.entry.aspectNames = ['cm:folder'];
|
||||
}
|
||||
}
|
||||
|
||||
export class SmartFolderNode extends NodeMinimalEntry {
|
||||
constructor(name?: string) {
|
||||
super();
|
||||
this.entry = new NodeMinimal();
|
||||
this.entry.id = 'smart-folder-id';
|
||||
this.entry.isFile = false;
|
||||
this.entry.isFolder = true;
|
||||
this.entry.name = name;
|
||||
this.entry.path = new PathInfoEntity();
|
||||
this.entry.aspectNames = ['smf:systemConfigSmartFolder'];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user