From fda33cb0df59e0bca9fc19ae32a0541b3d40acbd Mon Sep 17 00:00:00 2001 From: Alessio Cappa <104093777+alessiocappa@users.noreply.github.com> Date: Fri, 17 Jul 2026 07:13:40 +0200 Subject: [PATCH] feat: Move import merchant button in sub menu (#2637) --- app/views/family_merchants/index.html.erb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/family_merchants/index.html.erb b/app/views/family_merchants/index.html.erb index 178bc2511..754e8105e 100644 --- a/app/views/family_merchants/index.html.erb +++ b/app/views/family_merchants/index.html.erb @@ -7,13 +7,13 @@ href: merge_family_merchants_path, frame: :modal, icon: "combine") %> + <% menu.with_item( + variant: "link", + text: t(".import"), + href: new_import_path(type: "MerchantImport"), + frame: :modal, + icon: "upload") %> <% end %> - <%= render DS::Link.new( - text: t(".import"), - variant: "outline", - icon: "upload", - href: new_import_path(type: "MerchantImport") - ) %> <%= render DS::Link.new( text: t(".new"), variant: "primary",