mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-06-16 17:54:45 +00:00
pass data for dynamic components
This commit is contained in:
parent
1681a47f49
commit
7e52c54754
@ -12,7 +12,10 @@
|
||||
<ng-container *ngFor="let child of actionRef.children; trackBy: trackById">
|
||||
<ng-container [ngSwitch]="child.type">
|
||||
<ng-container *ngSwitchCase="'custom'">
|
||||
<adf-dynamic-component [id]="child.component"></adf-dynamic-component>
|
||||
<adf-dynamic-component
|
||||
[id]="child.component"
|
||||
[data]="child.data"
|
||||
></adf-dynamic-component>
|
||||
</ng-container>
|
||||
<ng-container *ngSwitchDefault>
|
||||
<app-toolbar-menu-item [actionRef]="child"></app-toolbar-menu-item>
|
||||
|
Loading…
x
Reference in New Issue
Block a user