Commit 488ad22b67f8fdef7996550dcf5eac6741c4e7ae
1 parent
527bc5e2
Entities table widget: add entity info to widget actions additionalParams
Showing
1 changed file
with
2 additions
and
2 deletions
... | ... | @@ -654,7 +654,7 @@ export class EntitiesTableWidgetComponent extends PageComponent implements OnIni |
654 | 654 | entityName = entity.entityName; |
655 | 655 | entityLabel = entity.entityLabel; |
656 | 656 | } |
657 | - this.ctx.actionsApi.handleWidgetAction($event, descriptors[0], entityId, entityName, null, entityLabel); | |
657 | + this.ctx.actionsApi.handleWidgetAction($event, descriptors[0], entityId, entityName, {entity}, entityLabel); | |
658 | 658 | } |
659 | 659 | } |
660 | 660 | |
... | ... | @@ -670,7 +670,7 @@ export class EntitiesTableWidgetComponent extends PageComponent implements OnIni |
670 | 670 | entityName = entity.entityName; |
671 | 671 | entityLabel = entity.entityLabel; |
672 | 672 | } |
673 | - this.ctx.actionsApi.handleWidgetAction($event, actionDescriptor, entityId, entityName, null, entityLabel); | |
673 | + this.ctx.actionsApi.handleWidgetAction($event, actionDescriptor, entityId, entityName, {entity}, entityLabel); | |
674 | 674 | } |
675 | 675 | } |
676 | 676 | ... | ... |