fix regression with empty all pages

This commit is contained in:
Gabriel Horner
2023-09-25 11:34:36 -04:00
parent 0ce19a5219
commit cf1f6fc9dc

View File

@@ -1149,7 +1149,7 @@
(or (boolean journal?)
(= false (boolean (:block/journal? %))))
(or (boolean whiteboard?)
(contains? (:block/type %) "whiteboard"))))
(not (contains? (:block/type %) "whiteboard")))))
(sort-pages-by sort-by-item desc?)))))
(reset! *pages pages)))