Browse Source

Don't show disabled list title when no docs are disabled

Thibaut 11 years ago
parent
commit
40bb50b158
1 changed files with 1 additions and 1 deletions
  1. 1 1
      assets/javascripts/views/sidebar/doc_list.coffee

+ 1 - 1
assets/javascripts/views/sidebar/doc_list.coffee

@@ -36,7 +36,7 @@ class app.views.DocList extends app.View
 
   render: =>
     @html @tmpl('sidebarDoc', app.docs.all())
-    @renderDisabled() unless app.isSingleDoc()
+    @renderDisabled() unless app.isSingleDoc() or app.disabledDocs.size() is 0
     @refreshElements()
     return