diff --git a/app/components/avo/views/resource_edit_component.html.erb b/app/components/avo/views/resource_edit_component.html.erb index 581f0503f6..d3c43ed690 100644 --- a/app/components/avo/views/resource_edit_component.html.erb +++ b/app/components/avo/views/resource_edit_component.html.erb @@ -2,6 +2,7 @@ id: helpers.frame_id(@resource), data: { model_name: @resource.model_name.to_s, + resource_name: @resource.class.to_s, record_id: @resource.record.id, selected_resources_name: @resource.model_key, selected_resources: [@resource.record.id],