       {:endpoint (endpoints/get-submission (:workspace-id props) (:submission-id props))
        :on-done (fn [{:keys [success? status-text get-parsed-response]}]
                   (swap! state assoc :server-response (if success?
-                                                        {:submission (get-parsed-response false)}
+                                                        {:submission (get-parsed-response)}
                                                         {:error-message status-text})))}))
    :component-did-mount (fn [{:keys [this]}] (react/call :load-details this))})

           (style/create-paragraph
            [:div {}
             [:div {:style {:fontWeight 200 :display "inline-block" :width 90}} "Type:"]
             [:span {:style {:fontWeight 500}} (get-in submission ["submissionEntity" "entityType"])]]
            [:div {}
             [:div {:style {:fontWeight 200 :display "inline-block" :width 90}} "Name:"]
             [:span {:style {:fontWeight 500}} (get-in submission ["submissionEntity" "entityName"])]])]
          [:div {:style {:float "right"}}
           (style/create-section-header "Submitted by")
           (style/create-paragraph
            [:div {} (submission "submitter")]
            [:div {} (common/format-date (submission "submissionDate")) " ("
             (duration/fuzzy-time-from-now-ms (.parse js/Date (submission "submissionDate")) true) ")"])
           (style/create-section-header "Submission ID")
           (style/create-link {:text (style/create-paragraph (submission "submissionId"))
                               :target "_blank"
                               :style {:color "-webkit-link" :textDecoration "underline"}
                               :href (str moncommon/google-cloud-context
                                          (:bucketName props) "/" (submission "submissionId") "/")})]
          (common/clear-both)
          [:h2 {} "Workflows:"]
          [WorkflowsTable {:workflows (submission "workflows")
                           :workspace-id (:workspace-id props)
                           :submission submission
                           :bucketName (:bucketName props)
                           :submission-id (submission "submissionId")
                           :nav-context nav-context}]])))
   :load-details
   (fn [{:keys [props state]}]

      {:empty-message "No Workflows"
       :columns [{:header "Data Entity" :starting-width 200
                  :as-text
                  (fn [workflow] (get-in workflow [:workflowEntity :entityName]))
                  :sort-by :text
                  :content-renderer
                  (fn [workflow]
                    (let [entity (:workflowEntity workflow)
                          id (:workflowId workflow)
                          name (str (:entityName entity) " (" (:entityType entity) ")")]
                      (if-not id
                        name
                        (style/create-link {:text name :href (nav/create-href (:nav-context props) id)}))))}
