             id           : workspace._id
             parentId     : id
 
-    @machineTree.addNode data for data in treeData
+    for data in treeData
+
+      node = @machineTree.addNode data
+
+      @mapWorkspaceWithChannel data, node  if data.type is 'workspace'
+
+
+  mapWorkspaceWithChannel: (data, node) ->
+
+    return  unless data.data?.channelId?
+
+    { channelId } = data.data
+
+    @workspaceItemChannelMap[channelId] = node
 
 
   selectWorkspace: (data) ->

    @itemsBySlug  = {}
    @itemsByName  = {}
    @selectedItem = null

    # @appsList = new DockController


          machineLabel : machine.slug or machine.label

      KD.userWorkspaces.forEach (workspace) ->

        if workspace.machineUId is machine.uid
          ideRoute = "/IDE/#{machine.slug or machine.label}/#{workspace.slug}"
          title    = "#{workspace.name}"
