[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:
davidcanonieto
2018-09-14 17:54:22 +01:00
committed by Eugenio Romano
parent 0569065684
commit a6e61ac3a4
6 changed files with 56 additions and 2 deletions

View File

@@ -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'];
}
}