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


  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: ->

      activeLeavingSharedMachineId : EnvironmentFlux.getters.activeLeavingSharedMachineId
      requiredInvitationMachine    : EnvironmentFlux.getters.requiredInvitationMachine
      differentStackResourcesStore : EnvironmentFlux.getters.differentStackResourcesStore
      team                         : TeamFlux.getters.team
    }


