                              :repos repos
                              :selected-org selected-org
                              :osx-enabled? (get-in data state/org-osx-beta-path)
+                             :selected-plan (get-in data state/org-plan-path)
                              :settings settings})
        [:hr]
        ;; This is a chain to get the organization that the user has clicked on and whether or not to show a payment plan upsell.

                 :on-change #(utils/toggle-input owner [:settings :add-projects :show-forks] %)}]
        "Show forks"]]])))

(defn repo-lists [{:keys [user repos selected-org settings osx-enabled?] :as data} owner]
  (reify
    om/IInitState
    (init-state [_]

                                                      "github") repo)
                                 (= (:username repo) selected-org-login)
                                 (gstring/caseInsensitiveContains (:name repo) repo-filter-string)))
                    filtered-repos (->> repos (filter display?) (sort-by :pushed_at) (reverse))
                    osx-repos (->> filtered-repos (filter repo-model/likely-osx-repo?))
                    linux-repos (->> filtered-repos (remove repo-model/likely-osx-repo?))]
                [:div
                 (om/build repo-filter settings)
                 (condp = selected-tab
                   :linux
                   (om/build repo-list {:repos (if (and osx-enabled? (pm/osx? selected-plan)) ; Allows mistaken ios repos to still be built.
                                                 linux-repos
                                                 filtered-repos)
                                        :loading-repos? loading-repos?
                                        :repo-filter-string repo-filter-string
                                        :selected-org-login selected-org-login
                                        :settings settings})

                   :osx
                   (om/build repo-list {:repos osx-repos
                                        :loading-repos? loading-repos?
                                        :repo-filter-string repo-filter-string
                                        :selected-org-login selected-org-login
                                        :settings settings}))])
              repos-explanation)]])))))

(defn inaccessible-follows
