       [: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)]]]))
+                                           (m/modal! [open-issuer-modal state] {:size :md :shown (fn []  (init-issuer-applications state)) }))} (str @issuer-name)]]]))

    (subs text 1)
    text))

(defn all-connections [state]
  (ajax/GET
    (path-for (str "/obpv1/social/connections_issuer"))
    {:handler (fn [data]
                (swap! state assoc :all-connections data)
                )}))

(defn init-issuer-applications [state]

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

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