                   (swap! state assoc :metadata-response
                          {:success? success?
                           :response (if success? (get-parsed-response false) status-text)
-                          :raw-response raw-response}))})
-     (endpoints/call-ajax-orch
-      {:endpoint
-       (endpoints/get-workflow-cost
-        (:workspace-id props) (:submission-id props) (:workflow-id props))
-       :on-done (fn [{:keys [success? get-parsed-response status-text]}]
-                  (swap! state assoc :cost-response
-                         {:success? success?
-                          :response (if success? (:cost (get-parsed-response)) (str "Error: " (or (:message (get-parsed-response)) status-text)))}))}))})
+                          :raw-response raw-response}))}))})
 
 
 (defn render [props]

(react/defc- WorkflowDetails
  {:render
   (fn [{:keys [state props]}]
     (let [metadata-response (:metadata-response @state)
           cost-response (:cost-response @state)]
       (cond
         (nil? metadata-response)
         (spinner "Loading workflow details...")
         (not (:success? metadata-response))
         (style/create-server-error-message (:response metadata-response))
         (nil? cost-response)
         (spinner "Loading workflow cost...")
         :else
         ;; generate this workflow's GCS path prefix
         ;; subworkflows receive them as props from parent workflows

         (let [workflow-path-prefix [(:bucketName props) (:submission-id props)]]
           (render-workflow-detail (:response metadata-response) (:raw-response metadata-response)
                                   (:workflow-name props) (:submission-id props) (:use-call-cache props)
                                   (:workspace-id props) workflow-path-prefix)))))
   :component-did-mount
   (fn [{:keys [props state]}]
     (endpoints/call-ajax-orch
