Show event params in trace details

This commit is contained in:
Saskia Lindner 2017-08-23 11:14:57 +02:00 committed by Daniel Compton
parent 098340c2ff
commit ec946ea7eb
1 changed files with 3 additions and 1 deletions

View File

@ -179,7 +179,9 @@
(.toFixed duration 1) " ms"]]
(when show-row?
[:tr {:key (str id "-details")}
[:td {:col-span 3} (with-out-str (pprint/pprint (dissoc tags :query-v :event :duration)))]]))))))
[:td {:col-span 3} (with-out-str (pprint/pprint (if-let [params (:event tags)]
params
(dissoc tags :query-v :duration))))]]))))))
(defn render-trace-panel []
(let [filter-input (r/atom "")