Merge pull request #3078 from urbanrotnik/ur-sci-fix-for-move-modal-partial

Fix for move_modal partial rendering
This commit is contained in:
Alex Kriuchykhin 2021-01-12 15:46:43 +01:00 committed by GitHub
commit e61679bcdd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@
<li class="jstree-open" id="root_folder" data-jstree='{"icon":"fas fa-folder root-folder"}'>
<a class="jstree-clicked" href="#">Projects</a>
<%= 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>
</ul>
</div>