diff --git a/app/components/projects/row_component.rb b/app/components/projects/row_component.rb index d7765f9d451a..813360e27a06 100644 --- a/app/components/projects/row_component.rb +++ b/app/components/projects/row_component.rb @@ -342,7 +342,8 @@ def more_menu_copy_item scheme: :default, icon: :copy, label: I18n.t(:button_copy), - href: copy_project_path(project) + href: copy_project_path(project), + data: { turbo: false } } end end diff --git a/app/views/projects/_toolbar.html.erb b/app/views/projects/_toolbar.html.erb index fbfa41072e26..a9f699a27294 100644 --- a/app/views/projects/_toolbar.html.erb +++ b/app/views/projects/_toolbar.html.erb @@ -47,7 +47,7 @@ See COPYRIGHT and LICENSE files for more details. <% if @project.copy_allowed? %>
  • - <%= link_to copy_project_path(@project), class: 'button copy', accesskey: accesskey(:copy) do %> + <%= link_to copy_project_path(@project), class: 'button copy', accesskey: accesskey(:copy), data: { turbo: false } do %> <%= op_icon('button--icon icon-copy') %> <%= t(:button_copy) %> <% end %>