     @initializeShows()
     
   renderShows: (featured=[], current=[], upcoming=[], past=[]) ->
+    return @$el.hide() if _.union(featured, current, upcoming, upcoming).length is 0
+
     @ensurePosterImages featured.concat current, upcoming, past
     @$el.html template
       partner: @partner

# upcoming, and past) in a grid layout.
# Used in overview and shows tab of partner galleries, overview tab
# of nonpartner galleries, and shows tab of institutions.
module.exports = class PartnerShowsGridView extends Backbone.View

  defaults:

      success: =>
        if @numberOfFeatured - featured.length > 0
          f = partnerShows.featured()
          featured.push f if f? # only add it if it's really something

        exclude = if f then [f] else []

