mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 14:42:10 +00:00
Fix a bug in device-item template
This commit is contained in:
@@ -1399,9 +1399,8 @@
|
||||
<td>
|
||||
<% if (synced_repos.length > 0) { %>
|
||||
<div class="dropdown js-dropdown">
|
||||
<span class="js-dropdown-toggle cspt"><%- synced_repos_length %> <span class="icon-caret-down"></span></span>
|
||||
<div class="device-libs-dropdown-menu dropdown-menu js-dropdown-content hide">
|
||||
<ul>
|
||||
<span class="js-dropdown-toggle cspt"><%- synced_repos_length %> <span class="icon-caret-down"></span></span>
|
||||
<ul class="device-libs-dropdown-menu dropdown-menu js-dropdown-content hide">
|
||||
<% for (var i = 0, len = synced_repos_length; i < len; i++) { %>
|
||||
<li><a href="#common/lib/<%- synced_repos[i].repo_id %>"><%- synced_repos[i].repo_name %></a></li>
|
||||
<% } %>
|
||||
|
Reference in New Issue
Block a user