Fix deepscan issues

This commit is contained in:
aignatov-bio 2020-05-05 09:44:38 +02:00
parent 938f00484b
commit 1b57040c37
2 changed files with 4 additions and 2 deletions

View file

@ -450,9 +450,11 @@ var MyModuleRepositories = (function() {
UPDATE_REPOSITORY_MODAL.data('update-url', data.update_url);
assignList = UPDATE_REPOSITORY_MODAL.find('.rows-to-assign .rows-list')[0];
unassignList = UPDATE_REPOSITORY_MODAL.find('.rows-to-unassign .rows-list')[0];
UPDATE_REPOSITORY_MODAL.modal('show');
if (assignList) assignListScrollbar = new PerfectScrollbar(assignList);
if (unassignList) unassignListScrollbar = new PerfectScrollbar(unassignList);
UPDATE_REPOSITORY_MODAL.modal('show');
assignListScrollbar.update();
unassignListScrollbar.update();
});
}

View file

@ -10,7 +10,7 @@
<i class="fas fa-users"></i>
</span>
<% end %>
<span class="name" data-rows-count="[<%= assigned_items_count %>]"><%= escape_input(repository.name) %></span>
<span class="name" data-rows-count="[<%= assigned_items_count %>]"><%= repository.name %></span>
<% if assigned_items_count.positive? %>
<span class="assigned-items">
<i class="fas fa-file-signature"></i>