                                ))} "Launch"]]))
 
 
-(defn render-launch-overlay [entities state refs workspace-id config on-success]
+(defn render-launch-overlay [entities state refs workspace-id config-id on-success]
   (let [entity-map (group-by #(% "entityType") entities)
         filter (or (:filter @state) "Sample")
         filtered-entities (entity-map filter)

    ))


(defn- render-launch-button [state refs entity workspace-id config on-success]
  (when-not (:launch-result @state)
          [:div {:style {:fontSize "106%" :lineHeight 1 :textAlign "center"}}
           [:div {:style {:padding "0.7em 0" :cursor "pointer"

                  ;; TODO: diable submit button after submitting
                  :onClick (fn [e]
                             (let [expression (clojure.string/trim (-> (@refs "expressionname") .getDOMNode .-value))
                                   payload (merge {:methodConfigurationNamespace (:namespace config-id)
                                                   :methodConfigurationName (:name config-id)
                                                   :entityType (entity "entityType")
                                                   :entityName (entity "name")}
                                                  (when-not (clojure.string/blank? expression) {:expression expression}))]
