 
 (defn issuer-content-modal [state]
   (let [applications (cursor state [:all-applications])
-        issuer-name (cursor state [:issuer-content :name])]
+        issuer-name (cursor state [:issuer-content :name])
+        favourites (cursor state [:all-connections])]
     (fn []
       [:div#badge-content
        [:div.modal-body

    (subs text 1)
    text))


(defn init-issuer-applications [state]
  (let [{:keys [user-id country-selected name recipient-name issuer-name order tags show-followed-only]} @state]

      [:button.issuer-button {:class (str "btn form-control btn-active")
                              :id "btn-all"
                              :on-click #(do
                                           (m/modal! [open-issuer-modal state] {:size :md :shown (fn [] (init-issuer-applications state)) }))} (str @issuer-name)]]]))
