From 11b2a0ba9eebdac305998e125cde120521a2611a Mon Sep 17 00:00:00 2001 From: Logan Senjov Date: Fri, 7 Jun 2024 11:42:03 +1000 Subject: [PATCH] Fix ignored-events goog define --- src/day8/re_frame_10x.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/day8/re_frame_10x.cljs b/src/day8/re_frame_10x.cljs index 5edca8d9..c12143f0 100644 --- a/src/day8/re_frame_10x.cljs +++ b/src/day8/re_frame_10x.cljs @@ -159,11 +159,12 @@ (def project-config (let [read reader.edn/read-string-maybe keep-vals (remove (comp nil? second)) + ignore #(do {:event-id % :event-str (str %)}) view #(do {:ns % :ns-str (str %)}) alias (fn [[k v]] {:ns-full (str k) :ns-alias (str v)})] (->> {:debug? debug? :retained-epochs history-size - :ignored-events (some-> ignored-events read sortable-uuid-map) + :ignored-events (some->> ignored-events read (map ignore) sortable-uuid-map) :filtered-view-trace (some->> hidden-namespaces read (map view) sortable-uuid-map) :app-db-follows-events? time-travel? :low-level-trace (some-> ignored-libs read (pred-map #{:re-frame :reagent}))