mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-01 20:48:23 +08:00
Fix deepscan issues
This commit is contained in:
parent
938f00484b
commit
1b57040c37
2 changed files with 4 additions and 2 deletions
|
@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue