mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 18:36:43 +00:00
enhance(logbook): sort logbook
This commit is contained in:
@@ -2359,6 +2359,7 @@
|
||||
(defn logbook-cp
|
||||
[log]
|
||||
(let [clocks (filter #(string/starts-with? % "CLOCK:") log)
|
||||
clocks (reverse (sort-by str clocks))
|
||||
;; TODO: diplay states change log
|
||||
states (filter #(not (string/starts-with? % "CLOCK:")) log)]
|
||||
(when (seq clocks)
|
||||
|
||||
Reference in New Issue
Block a user