Browse Source

Fix linting

pull/2274/head
Rachael Booth 2 years ago
parent
commit
d7d632112a
  1. 2
      app/views/organisation_relationships/managing_agents.html.erb
  2. 2
      app/views/organisation_relationships/stock_owners.html.erb

2
app/views/organisation_relationships/managing_agents.html.erb

@ -30,7 +30,7 @@
item_label:,
search_item: "agents",
total_count: @total_count,
remove_path: ->(org_id) { managing_agents_remove_organisation_path(target_organisation_id: org_id) }
remove_path: ->(org_id) { managing_agents_remove_organisation_path(target_organisation_id: org_id) },
} %>
<%= render partial: "pagy/nav", locals: { pagy: @pagy, item_name: "managing agents" } %>
<% end %>

2
app/views/organisation_relationships/stock_owners.html.erb

@ -27,7 +27,7 @@
item_label:,
search_item: "stock owners",
total_count: @total_count,
remove_path: ->(org_id) { stock_owners_remove_organisation_path(target_organisation_id: org_id) }
remove_path: ->(org_id) { stock_owners_remove_organisation_path(target_organisation_id: org_id) },
} %>
<%= render partial: "pagy/nav", locals: { pagy: @pagy, item_name: "stock owners" } %>
<% end %>

Loading…
Cancel
Save