Skip to content

Commit 758ec46

Browse files
committed
Add links for address management to customer section component
1 parent 18604f4 commit 758ec46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

admin/app/components/solidus_admin/orders/show/component.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
<%= page_with_sidebar_aside do %>
1717
<%= render component('ui/panel').new(title: panel_title_with_more_links(t(".customer"), [
1818
link_to("Edit order email", "#", class: "p-2 hover:bg-gray-25 rounded-sm text-black"),
19-
link_to("Edit shipping address", "#", class: "p-2 hover:bg-gray-25 rounded-sm text-black"),
20-
link_to("Edit billing address", "#", class: "p-2 hover:bg-gray-25 rounded-sm text-black"),
19+
link_to("Edit shipping address", solidus_admin.new_order_ship_address_path(@order), class: "p-2 hover:bg-gray-25 rounded-sm text-black"),
20+
link_to("Edit billing address", solidus_admin.new_order_bill_address_path(@order), class: "p-2 hover:bg-gray-25 rounded-sm text-black"),
2121
link_to("Remove customer", "#", 'data-turbo-method': :delete, class: "p-2 hover:bg-gray-25 rounded-sm text-red-500"),
2222
])) do %>
2323
<div class="flex flex-col -m-6 p-6 gap-6 border-t border-gray-100 mt-0">

0 commit comments

Comments
 (0)