   renderMachineDetails: ->
 
     return null  unless @props.shouldRenderDetails
-    return null  unless @props.machine.get('label') is @state.selectedMachine
-
+    return null  unless @props.machine.get('_id') is @state.activeMachine
     <main className="MachinesListItem-machineDetails">
       <MachineDetails
         machine={@props.machine}

  getDataBindings: ->

    return {
      selectedMachine: VirtualMachinesSelectedMachineFlux.getters.selectedMachine
      expandedMachineLabel: EnvironmentFlux.getters.expandedMachineLabelStore
    }



    return null  unless @props.shouldRenderDetails

    expanded = if @props.machine.get('_id') is @state.activeMachine
    then ' expanded'
    else ''

