Skip to content

Commit 43038cf

Browse files
committed
Fix exception in traces panel when unchecking all category filters
Fixes #310
1 parent 5975b51 commit 43038cf

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Change Log
22
All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).
33

4+
## 1.1.6 (2021-06-22)
5+
6+
### Fixed
7+
8+
- Fix exception in traces panel when unchecking all category filters. Fixes [#310](https://github.com/day8/re-frame-10x/issues/310).
9+
410
## 1.1.5 (2021-06-22)
511

612
### Fixed

src/day8/re_frame_10x/panels/traces/subs.cljs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,7 @@
114114
:<- [::filtered-by-cached-subscriptions]
115115
:<- [::categories]
116116
(fn [[traces categories] _]
117-
(if-not (seq categories)
118-
traces
119-
(filter (fn [trace] (when (contains? categories (:op-type trace)) trace)) traces))))
117+
(filter (fn [trace] (when (contains? categories (:op-type trace)) trace)) traces)))
120118

121119
(defn query->fn [query]
122120
(if (= :contains (:type query))

0 commit comments

Comments
 (0)