mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 03:16:37 +00:00
fix: keep the last repeated datom (different value) in batch tx
This commit is contained in:
@@ -610,10 +610,7 @@
|
||||
(def distinct-by common-util/distinct-by))
|
||||
|
||||
#?(:cljs
|
||||
(defn distinct-by-last-wins
|
||||
[f col]
|
||||
{:pre [(sequential? col)]}
|
||||
(reverse (distinct-by f (reverse col)))))
|
||||
(def distinct-by-last-wins common-util/distinct-by-last-wins))
|
||||
|
||||
(defn get-git-owner-and-repo
|
||||
[repo-url]
|
||||
|
||||
Reference in New Issue
Block a user