From 922101b12c9eef3d884c469893c3744c73397b75 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Fri, 31 Jan 2025 12:03:52 +0200 Subject: [PATCH] fix dashboard toggle --- app/views/templates_dashboard/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/templates_dashboard/index.html.erb b/app/views/templates_dashboard/index.html.erb index 6819beaf..8f290c57 100644 --- a/app/views/templates_dashboard/index.html.erb +++ b/app/views/templates_dashboard/index.html.erb @@ -2,7 +2,7 @@ <% if Docuseal.demo? %><%= render 'shared/demo_alert' %><% end %>
- <% if has_archived || @pagy.count > 0 %> + <% if has_archived || @pagy.count > 0 || @template_folders.present? %>
<%= render 'dashboard/toggle_view', selected: 'templates' %>