fix archived export

This commit is contained in:
Pete Matsyburka
2026-02-26 17:20:05 +02:00
parent e589998840
commit 65491936c3
3 changed files with 7 additions and 6 deletions
@@ -16,7 +16,7 @@
<% if with_filters %>
<%= render 'shared/search_input' %>
<% end %>
<%= link_to new_template_submissions_export_path(@template), class: 'btn btn-ghost text-base', data: { turbo_frame: 'modal' } do %>
<%= link_to new_template_submissions_export_path(@template, archived: true), class: 'btn btn-ghost text-base', data: { turbo_frame: 'modal' } do %>
<%= svg_icon('download', class: 'w-6 h-6 stroke-2') %>
<span><%= t('export') %></span>
<% end %>