   (fetch-badge-adverts state))
 
 (defn issuer-applications-count [issuer-name state]
-  (init-issuer-applications state)
   (count (filter #(= issuer-name (:issuer_content_name %)) (:all-issuer-applications @state))))
 
 (defn- issuer-image [path]

                :order (trim order)
                :followed show-followed-only}
       :handler (fn [data]
                  (swap! state assoc :all-issuer-applications (:applications data) ))})))

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


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