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

    else
      super

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

  hide: ->

module.exports =
class ProjectsListView extends SelectListView
  possibleFilterKeys: ['title', 'group', 'template']
  projects: null

  activate: ->
    new ProjectListView
