diff --git a/seahub/templates/js/templates.html b/seahub/templates/js/templates.html
index bea5a0ea53..9c0171c850 100644
--- a/seahub/templates/js/templates.html
+++ b/seahub/templates/js/templates.html
@@ -13,6 +13,7 @@
<% } %>
+ <% if (!$.isEmptyObject(app.pageOptions.storages)) { %>
<% if (app.pageOptions.storages.length > 1) { %>
<% } %>
+ <% } %>
<% if (showSharePerm) { %>