 
 
   if oauthEnabled() is yes
-    items.personal.items.push({ slug : 'Externals', title : "Linked accounts",     listType: "linkedAccounts" })
-
-  constructor:(options={}, data)->
+    NAV_ITEMS.personal.items.push({ slug : 'Externals', title : "Linked accounts",     listType: "linkedAccounts" })
+
+  constructor: (options = {}, data) ->
 
     options.view = new KDModalView
       title    : 'Account Settings'

      wrapper     : no
      scrollView  : no

    mainView.addSubView aside = new KDView
      tagName   : 'aside'
      cssClass  : 'AppModal-nav'

    aside.addSubView navView = @navController.getView()

    mainView.addSubView appContent = new KDCustomHTMLView
      cssClass            : 'AppModal-content'

    appContent.addSubView @tabView = new KDTabView
      hideHandleContainer : yes

    for own sectionKey, section of items
      @navController.instantiateListItems section.items
    modal.once 'KDObjectWillBeDestroyed', ->
      { router } = kd.singletons
      previousRoutes = router.visitedRoutes.filter (route) -> not /^\/Account.*/.test(route)


  loadView: (modal) ->

    @navController?.destroy()
    @navController = new KDListViewController
      view        : new KDListView
        tagName   : 'nav'
