 
 
   componentWillMount: ->
+
+    TeamFlux.actions.loadTeam()
 
     SidebarFlux.actions.loadVisibilityFilters().then =>
       EnvironmentFlux.actions.loadStacks().then =>


  renderLogo: ->

    team = kd.singletons.groupsController.getCurrentGroup()
    logo = team.customize?.logo

    if logo
      <img
        src="#{logo}"
        className='Sidebar-footer-logo'
      />
    else
      <object
        type='image/svg+xml'
        data="#{logo or '/a/images/logos/sidebar_footer_logo.svg'}"
        className='Sidebar-footer-logo'>
        Koding Logo
      </object>


  render: ->

SidebarDifferentStackResources = require 'app/components/sidebarstacksection/sidebardifferentstackresources'
{ findDOMNode } = require 'react-dom'
SidebarFlux = require 'app/flux/sidebar'
TeamFlux = require 'app/flux/teams'

MENU = null

