         open_first_project : undefined
 
     clear_and_focus_input: ->
-        redux.getActions('projects').setState(search: '')
+        @actions('projects').setState(search: '')
         @refs.projects_search.clear_and_focus_search_input()
 
     delete_search_button: ->

    render_hidden_button: ->
        style = if @props.hidden then 'warning' else "default"
        if @props.show_hidden_button
            <Button onClick = {=>redux.getActions('projects').setState(hidden: not @props.hidden)} bsStyle={style}>
                <Icon name={if @props.hidden then 'check-square-o' else 'square-o'} fixedWidth /> Hidden
            </Button>


        user_map : undefined

    show_all_projects: ->
        @actions('projects').setState(show_all : not @props.show_all)

    render_show_all: ->
        if @props.projects.length > MAX_DEFAULT_PROJECTS
