Skip to content

Commit

Permalink
adding back resource name
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Simpson committed Jul 11, 2024
1 parent 3b5fa08 commit 7ca0ed0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/components/avo/views/resource_edit_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit 7ca0ed0

Please sign in to comment.