mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 18:36:43 +00:00
Replace medley/{map-keys/map-vals} with {update-keys,update-vals}
This commit is contained in:
committed by
Tienson Qin
parent
6f68d985bd
commit
1d390f7bd4
@@ -659,9 +659,10 @@
|
||||
|
||||
(def category
|
||||
"Active list of categories for docs purpose"
|
||||
(medley/map-vals (fn [v]
|
||||
(vec (remove #(:inactive (get all-default-keyboard-shortcuts %)) v)))
|
||||
category*))
|
||||
(update-vals
|
||||
category*
|
||||
(fn [v]
|
||||
(vec (remove #(:inactive (get all-default-keyboard-shortcuts %)) v)))))
|
||||
|
||||
(defn add-shortcut!
|
||||
[handler-id id shortcut-map]
|
||||
|
||||
Reference in New Issue
Block a user