 module.exports =
 class ProjectsListView extends SelectListView
   possibleFilterKeys: ['title', 'group', 'template']
+  projects: null
 
   activate: ->
     new ProjectListView

    else
      super

  toggle: () ->
    if @panel?.isVisible()
      @hide()
    else
      projects = new Projects()
      projects.getAll (projects) =>
        @show(projects)

  hide: ->

  initialize: (serializeState) ->
    super
    @addClass('project-manager')
    @projects = new Projects()

  serialize: ->

