             when 'settings'
                 <ProjectSettings project_id={@props.project_id} name={@props.project_name} group={@props.group} />
             else
-                if not @props.open_files? or not @props.active_tab_name?
+                if not @props.opened_file? or not @props.active_tab_name?
                     <Loading />
                 else
                     @render_editor_tab()

            @props.save_scroll(val)

    render_editor: (path) ->
        {Editor, redux_name} = @props.open_files.getIn([path, 'component']) ? {}
        if redux_name?
            editor_actions = redux.getActions(redux_name)
        if not Editor?

        if not @props.open_files_order?
            return <Loading />
        group = @props.get_my_group(@props.project_id)
        active_path = misc.tab_to_path(@props.active_project_tab)

        <div className='container-content' style={display: 'flex', flexDirection: 'column', flex: 1}>
            <FreeProjectWarning project_id={@props.project_id} name={name} />
            {@render_file_tabs(group == 'public') if not @props.fullscreen}
            <ProjectContentViewer
                project_id      = {@props.project_id}
                project_name    = {@props.name}
                active_tab_name = {@props.active_project_tab}
                opened_file     = {@props.open_files.getIn([active_path])}
                file_path       = {active_path}
                group           = {group}
                save_scroll     = {@actions(name).get_scroll_saver_for(active_path)}
            />
        </div>

