From bdd8cbf36d8a81fecf1c3187645d4be1f8d11deb Mon Sep 17 00:00:00 2001 From: Phablulo Date: Thu, 30 Dec 2021 12:14:41 -0300 Subject: [PATCH] [COMPONENT][Right Panel] Send request to AppendRightPanelBlock event --- components/RightPanel/templates/right_panel/view.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/RightPanel/templates/right_panel/view.html.twig b/components/RightPanel/templates/right_panel/view.html.twig index 8b5fb1b5b6..e8963501f0 100644 --- a/components/RightPanel/templates/right_panel/view.html.twig +++ b/components/RightPanel/templates/right_panel/view.html.twig @@ -48,7 +48,7 @@ {% endif %} {% set current_path = app.request.get('_route') %} - {% for block in handle_event('AppendRightPanelBlock', {'path': current_path, 'vars': right_panel_vars | default }, request) %} + {% for block in handle_event('AppendRightPanelBlock', {'path': current_path, 'request': request, 'vars': right_panel_vars | default }, request) %} {{ block | raw }} {% endfor %}