     @showLazyLoader no
 
     KD.remote.api.JUser.getSSHKeys (keys)=>
-      @instantiateListItems keys
+      if keys.length > 0
+        @instantiateListItems keys
+      else
+        @addCustomItem "You have no SSH keys."
       @hideLazyLoader()
 
   loadView:->

      callback  : =>
        @addItem {key: '', title: ''}, 0
        @getListView().items.first.swapSwappable()

class AccountSshKeyList extends KDListView
  constructor:(options,data)->


    @getListView().on "UpdatedItems", =>
      newKeys = @getItemsOrdered().map (item)-> item.getData()
      if newKeys.length is 0
        @addCustomItem "You have no SSH keys."
      KD.remote.api.JUser.setSSHKeys newKeys, ->
        console.log "Saved keys."

