show submissions toggle

This commit is contained in:
Pete Matsyburka committed 2026-11-09 19:00:29 +02:00
1 parent 30704b59c2
commit c45ad2f4e9
1 file changed
+1 -1
+1 -1
View File
@@ -14,7 +14,7 @@
<% end %>
<%= render 'templates/dashboard_folder_dropzone', style: 'height: 114px' %>
<div class="flex items-center flex-grow min-w-0 max-md:group-has-[search-input:focus-within]/header:hidden <%= 'max-md:hidden' if params[:q].present? %>">
<% if has_archived || @pagy.count.nil? || @pagy.count > 0 || @template_folders.present? %>
<% if current_account.created_at < 1.day.ago || has_archived || @pagy.count.nil? || @pagy.count > 0 || @template_folders.present? %>
<div class="mr-2">
<%= render 'dashboard/toggle_view', selected: 'templates' %>
</div>