         project = @visible_projects()[0]
         if project?
             open_project(project: project.project_id)
+    ###
+    # Consolidate the next two functions.
+    ###
+
+    # Returns true if this project has any hidden files
+    has_hidden_files : ->
+        for project in @project_list()
+            if project_is_in_filter(project, true, false)
+                return true
+        return false
+
+
+    # Returns true if this project has any deleted files
+    has_deleted_files : ->
+        for project in @project_list()
+            if project_is_in_filter(project, false, true)
+                return true
+        return false
 
     render : ->
         if not @props.project_map?

                    <Col sm=8>
                        <ProjectsFilterButtons
                            hidden  = {@props.hidden}
                            deleted = {@props.deleted} />
                    </Col>
                </Row>
                <Row>

                        placeholder = 'Title (you can easily change this later)'
                        disabled    = {@state.state == 'saving'}
                        onChange    = {=>@setState(title_text:@refs.new_project_title.getValue())}
                        onKeyDown   = {@handle_keypress}
                        autoFocus   />
                </Col>

