fix folder nav

This commit is contained in:
Pete Matsyburka committed 2026-09-23 10:59:54 +03:00
1 parent 5de334522c
commit 1232dfb248
3 files changed
+12 -6

No files matched your search

+5
View File
@@ -1,4 +1,9 @@
<% content_for(:native_title, @template_folder.name) if turbo_native_app? %>
<% if turbo_native_app? && (can?(:manage, :countless) || current_account.templates.where.not(archived_at: nil).exists?) %>
<native-action data-placement="menu" data-icon="archive">
<a href="<%= templates_archived_index_path %>"><%= t('view_archived') %></a>
</native-action>
<% end %>
<% unless turbo_native_app? %>
<div>
<%= link_to @template_folder.parent_folder ? folder_path(@template_folder.parent_folder) : root_path, class: 'flex items-center' do %>