     @settings.addSubView linkButton = new KDButtonView
       cssClass : 'solid compact outline'
       title    : 'LINK CHANNEL'
-  
+      callback : =>
+        listItems = @similarChannelsListController.getListItems()
+        console.log item.switcher.getValue() for item in listItems
+        
   
   searchSimilarChannels: ->
 

      if err
        console.log "no leaf channel found for #{data.id}, #{data.name}"
      @listLeafChannels channels
      
  listLeafChannels: (channels) ->
    
    @leafChannelsListController.hideLazyLoader()
    return  unless channels?.length

    @skip += channels.length

    for channel in channels

      cssClass : 'solid compact outline'
      title    : 'DELETE CHANNEL'

    @settings.addSubView @removeLabel = new KDCustomHTMLView
      cssClass: 'solid compact hidden'
      partial : '<span class="label">Leaf Channels</span>'

    @createLeafChannelsListController()
    @settings.addSubView @leafChannelsListController.getView()
    @createLeafItemViews @getData()
    
    @settings.addSubView @removeButton = new KDButtonView
      cssClass : 'solid compact outline hidden'
      title    : 'REMOVE LINK'
      callback : =>
        listItems = @leafChannelsListController.getListItems()
        console.log item for item in listItems
        #listItems?.forEach (item)->
          #console.log item
        #console.log listItems
      
     
    @settings.addSubView new KDCustomHTMLView
      cssClass: 'solid compact'
