                 </nav>}
             </nav>
           </div>
-        else if collections?.length is 0
+        else if @state.collections?.length is 0
           <div>
             <div className="resource-results-counter collection-results-counter">
               <Translate content="#{@props.translationObjectName}.notFoundMessage" component="p" />

          user={@props.user}
          project={@props.project}
          baseType={@props.baseType} />}
      <PromiseRenderer promise={@listCollections()}>{(collections) =>
        if collections?.length > 0
          meta = collections[0].getMeta()
          <div>
            <div className="resource-results-counter collection-results-counter">
              <p>

React = require 'react'
apiClient = require 'panoptes-client/lib/api-client'
CollectionCard = require '../../partials/collection-card'
Translate = require 'react-translate-component'
{Link} = require 'react-router'
