mirror of
https://github.com/status-im/status-react.git
synced 2025-02-27 10:00:49 +00:00
This commit is contained in:
parent
9a80548cf3
commit
0c7aab902a
@ -137,7 +137,9 @@
|
||||
(sort-by :clock-value >)
|
||||
(map #(assoc % :datemark (time/day-relative (:timestamp %))))
|
||||
(group-by :datemark)
|
||||
(map (fn [[k v]] [v {:type :datemark :value k}]))
|
||||
(vals)
|
||||
(sort-by (comp :clock-value first) >)
|
||||
(map (fn [v] [v {:type :datemark :value (:datemark (first v))}]))
|
||||
(flatten))
|
||||
remove-last? (some (fn [{:keys [content-type]}]
|
||||
(= content-type content-type-status))
|
||||
|
Loading…
x
Reference in New Issue
Block a user