```coffeescript
SidebarMachineList = require './sidebarmachinelist'


module.exports = class SidebarSharedMachinesList extends SidebarMachineList

  constructor: (options = {}, data) ->

    options.title       = 'Shared VMs'
    options.hasPlusIcon = no
    options.cssClass    = 'shared-machines'

    { shared, collaboration } = data

    data.machine.isSharedMachine = yes  for data in shared
    data.machine.isCollaborationMachine = yes  for data in collaboration

    data = shared.concat collaboration

    super options, data
```

Hide if there is no machine.
user
```coffeescript
SidebarMachineList = require './sidebarmachinelist'
kd = require 'kd'


module.exports = class SidebarSharedMachinesList extends SidebarMachineList

  constructor: (options = {}, data) ->

    options.title       = 'Shared VMs'
    options.hasPlusIcon = no
    options.cssClass    = 'shared-machines'

    { shared, collaboration } = data

    data.machine.isSharedMachine = yes  for data in shared
    data.machine.isCollaborationMachine = yes  for data in collaboration

    data = shared.concat collaboration

    super options, data

    @hide()  if data.length is 0
```
assistant