mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
[MNT-23821] Filter custom aspects (#8790)
* [MNT-23821] Filter custom aspects * [MNT-23821] getCustomAspects initialization * [MNT-23821] Added aspect list service tests * [MNT-23821] getCustomAspects - whiteList argument as optional. Added tests. * [MNT-23821] Changed from double to single quotes * [MNT-23821] Lint
This commit is contained in:
@@ -58,7 +58,7 @@ export class AspectListComponent implements OnInit, OnDestroy {
|
||||
ngOnInit(): void {
|
||||
if (this.nodeId) {
|
||||
const node$ = this.nodeApiService.getNode(this.nodeId);
|
||||
const customAspect$ = this.aspectListService.getCustomAspects()
|
||||
const customAspect$ = this.aspectListService.getCustomAspects(this.aspectListService.getVisibleAspects())
|
||||
.pipe(map(
|
||||
(customAspects) => customAspects.flatMap((customAspect) => customAspect.entry.id)
|
||||
));
|
||||
|
Reference in New Issue
Block a user