Fix for move_modal partial rendering

This commit is contained in:
Urban Rotnik 2021-01-12 15:45:21 +01:00
parent 62b1aaf033
commit 1c5337e6ab

View file

@ -20,7 +20,7 @@
<li class="jstree-open" id="root_folder" data-jstree='{"icon":"fas fa-folder root-folder"}'> <li class="jstree-open" id="root_folder" data-jstree='{"icon":"fas fa-folder root-folder"}'>
<a class="jstree-clicked" href="#">Projects</a> <a class="jstree-clicked" href="#">Projects</a>
<%= render partial: 'projects/index/modals/move_to_folders_tree.html.erb', <%= render partial: 'projects/index/modals/move_to_folders_tree.html.erb',
locals: { records: sidebar_folders_tree(current_team, current_user, projects_view_mode, folders_only: true) } %> locals: { records: sidebar_folders_tree(current_team, current_user, @current_sort, folders_only: true) } %>
</li> </li>
</ul> </ul>
</div> </div>