                (when (pos? (count @traces))
                  [:span "(" [:button.text-button {:on-click #(do (trace/reset-tracing!) (reset! traces []))} "clear"] ")"])]
              [:th "meta"]]
-            [:tbody (render-traces showing-traces trace-details)]]]]))))
+            [:tbody (render-traces showing-traces trace-detail-expansions)]]]]))))
 
 (defn resizer-style [draggable-area]
   {:position "absolute" :z-index 2 :opacity 0

            [:thead>tr
             [:th [:button.text-button
                   {:style {:cursor "pointer"}
                    :on-click #(reset! trace-details {:showing (not (:showing @trace-details))})}
                   (if (:showing @trace-details) "-" "+")]]
             [:th "operations"]
             [:th
               (when (pos? (count @filter-items))

                                          :white-space "nowrap"})}

                (.toFixed duration 1) " ms"]]
              (when (or (get-in @trace-detail-expansions [:overrides id])
                        (:showing @trace-detail-expansions))
                [:tr {:key (str id "-details")}
                 [:td {:col-span 3} (with-out-str (pprint/pprint (dissoc tags :query-v :event :duration)))]]))))))



(defn render-trace-panel []
  (let [filter-input               (r/atom "")
        filter-items               (r/atom [])
        filter-type                (r/atom :contains)
        input-error                (r/atom false)
        trace-detail-expansions    (r/atom {:showing false :overrides {}})]
    (fn []
      (let [showing-traces       (if (= @filter-items [])
                                   @traces
