     shouldRenderDisconnect : no
     shouldRenderAlwaysOn   : no
     shouldRenderSharing    : no
+    shouldRenderEditName   : no
     onChangeAlwaysOn       : kd.noop
     onChangePowerStatus    : kd.noop
     onChangeSharingStatus  : kd.noop

    </div>


  setMachineLabel: ->

    unless @state.machineLabel
      @setState { machineLabel: @props.machine.get 'label'}
      return

    machineUId = @props.machine.get 'uid'
    EnvironmentFlux.actions.setLabel machineUId, @state.machineLabel
      .then (label) =>
        kd.singletons.router.handleRoute "/Home/Stacks/virtual-machines/#{@state.machineLabel}"
      .catch (err) =>
        @setState { machineLabel: @props.machine.get 'label' }
        new kd.NotificationView { title: 'Something went wrong', duration: 2000 }


  inputOnChange: (event) ->

    { value: machineLabel } = event.target
    @setState { machineLabel: machineLabel }


  renderStackTitle: ->


      <a href="#" className="HomeAppView--button primary">{@props.stack.get 'title'}</a>
    </div>


  render: ->

