               [IODetail {:label "Outputs" :data (data "outputs")}]
               (create-field "stdout" (display-value (data "stdout") (last (string/split (data "stdout") #"/"))))
               (create-field "stderr" (display-value (data "stderr") (last (string/split (data "stderr") #"/"))))
-              (backend-logs data)]])
-          (:data props)))])})
-
+              (backend-logs data)
+              (when-let [failures (data "failures")]
+                [Failures {:data failures}])]])
+        (:data props)))])})
 
 
 (defn- render-workflow-detail [workflow raw-data workflow-name submission-id bucketName]

     (let [wlogurl (str "gs://" bucketName "/" submission-id "/workflow.logs/workflow."
                        (workflow "id") ".log")]
       (create-field "Workflow Log" (display-value wlogurl (str "workflow." (workflow "id") ".log"))))]
    [WorkflowTiming {:label "Workflow Timing" :data raw-data :workflow-name workflow-name}]]

   [:div {:style {:marginTop "1em" :fontWeight 500}} "Calls:"]
   (for [[call data] (workflow "calls")]
     [CallDetail {:label call :data data :submission-id submission-id :bucketName bucketName :workflowId (workflow "id")}])])


        [:div {:style {:padding "0.25em 0 0.25em 1em"}}
         (for [[k v] (:data props)]
           [:div {} k [:span {:style {:margin "0 1em"}} "→"] (display-value v)])])])})

(react/defc WorkflowTiming
  {:get-initial-state
