From ec946ea7eb270e8d6dccefc93ec8d3c8f170d2d8 Mon Sep 17 00:00:00 2001 From: Saskia Lindner Date: Wed, 23 Aug 2017 11:14:57 +0200 Subject: [PATCH] Show event params in trace details --- src/day8/re_frame/trace.cljs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/day8/re_frame/trace.cljs b/src/day8/re_frame/trace.cljs index 616f004..bfa5a16 100644 --- a/src/day8/re_frame/trace.cljs +++ b/src/day8/re_frame/trace.cljs @@ -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 "")