 
 
   fetchIntegrationChannels: ->
+
     data = @getData()
 
     @fetchChannels (err, channels) =>

      @emit 'IntegrationGroupsFetched', data


  fetchIntegrationDetails: ->
    { title, summary, description, iconPath } = @getData()

    remote.api.JAccount.some {}, {}, (err, data) =>
      @button.hideLoader()
      @emit 'IntegrationConfigureRequested', DUMMY_DATA.detailsData


  fetchChannels: (callback) ->
    kd.singletons.socialapi.account.fetchChannels (err, channels) =>
      return callback err  if err

      decoratedChannels = []
      for channel in channels
        { id, typeConstant, name, purpose, participantsPreview } = channel


remote         = require('app/remote').getInstance()
KDButtonView   = kd.ButtonView
KDListItemView = kd.ListItemView


module.exports = class AdminIntegrationItemView extends KDListItemView
