Skip to content

Commit

Permalink
delete button
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoos committed Sep 10, 2018
1 parent 0e2b43f commit 455457a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion dviz/src/cljs/dviz/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,13 @@
:on-click #(switch-to-trace trace servers)}
name]
[:span " "]
[:a {:href "#" :on-click #(download-trace trace servers)} "(download)"]]))]
[:a {:href "#" :on-click #(download-trace trace servers)} "(download)"]
[:span " "]
[:a {:href "#" :on-click
(fn [] (swap! traces
#(vec (remove-one (partial fields-match
[:id] {:id id})
%))))} "(delete)"]]))]
[trace-upload traces-local]])])))

(defonce debug-display-state (reagent/atom nil))
Expand Down

0 comments on commit 455457a

Please sign in to comment.