   renderRowAtIndex: (sectionIndex) ->
 
     { owned, shared } = @props
+
+    console.log '>>>>>>>', sectionIndex, sections[sectionIndex]
 
     switch sections[sectionIndex]
       when 'owned'


  @propTypes =
    owned: React.PropTypes.array
    shared: React.PropTypes.array
    disabled: React.PropTypes.bool
    hasTemplate: React.PropTypes.bool
    canCreateStacks: React.PropTypes.bool

    # owned resources is always rendered, even with no items (with empty
    # message), but shared resources will be shown only if there is at least 1
    # shared resource.
    { shared: { permanent, collaboration } } = @props

    return if permanent.length or collaboration.length then 2 else 1


  getRowCount: (sectionIndex) -> 1


  renderEmptySectionAtIndex: (sectionIndex) ->
