mirror of
https://github.com/logseq/logseq.git
synced 2026-05-25 05:04:24 +00:00
fix: distinct-by: convert col to seq first
This commit is contained in:
@@ -474,7 +474,9 @@
|
||||
|
||||
|
||||
#?(:cljs
|
||||
(def distinct-by medley/distinct-by))
|
||||
(defn distinct-by
|
||||
[f col]
|
||||
(medley/distinct-by f (seq col))))
|
||||
|
||||
#?(:cljs
|
||||
(defn distinct-by-last-wins
|
||||
|
||||
Reference in New Issue
Block a user