       sharedMachines               : EnvironmentFlux.getters.sharedMachines
       collaborationMachines        : EnvironmentFlux.getters.collaborationMachines
       activeLeavingSharedMachineId : EnvironmentFlux.getters.activeLeavingSharedMachineId
-      requiredInvitationMachine    : EnvironmentFlux.getters.requiredInvitationMachine
       differentStackResourcesStore : EnvironmentFlux.getters.differentStackResourcesStore
       templates                    : EnvironmentFlux.getters.allStackTemplates
       selectedTemplateId           : EnvironmentFlux.getters.selectedTemplateId


    SidebarFlux.actions.loadVisibilityFilters().then =>

      EnvironmentFlux.actions.loadMachines().then @bound 'setActiveInvitationMachineId'
      EnvironmentFlux.actions.loadStackTemplates()
      EnvironmentFlux.actions.loadStacks().then =>
        @setState { isLoading: no }

    MENU = new kd.ContextMenu menuOptions, menuItems

    MENU.once 'KDObjectWillBeDestroyed', -> kd.utils.wait 50, -> MENU = null


  prepareStacks:  ->
