   componentWillMount: ->
 
     SidebarFlux.actions.loadVisibilityFilters().then =>
-      EnvironmentFlux.actions.loadStacks()
+      EnvironmentFlux.actions.loadStacks().then =>
+        @setState { isLoading: no }
+
       EnvironmentFlux.actions.loadMachines().then @bound 'setActiveInvitationMachineId'
 
       EnvironmentFlux.actions.loadTeamStackTemplates()


  renderStacks: ->

    if @state.stacks?.size or @state.drafts?.size
      <SidebarStackHeaderSection>
        {@prepareStacks()}
      </SidebarStackHeaderSection>
    else
      <SidebarNoStacks />



  { getters, actions } = ActivityFlux

  constructor: (props) ->

    super props

    @state = { isLoading: yes }


  getDataBindings: ->
    return {
      publicChannels               : getters.followedPublicChannelThreadsWithSelectedChannel
