fix: cmd+c to copy block ref

pull/10507/head
Tienson Qin 2023-11-16 13:03:13 +08:00
parent 15ed50e357
commit b1622d2411
1 changed files with 2 additions and 2 deletions

View File

@ -573,7 +573,7 @@
(util/stop e)
(reset! (::filter state) nil)
(when-not filter (handle-input-change state nil ""))))
(= keyname "c") (copy-block-ref state)
(and meta? (= keyname "c")) (copy-block-ref state)
:else nil)))
(defn keyup-handler
@ -783,7 +783,7 @@
:style {:background "var(--lx-gray-02)"}}
(when group-filter
[:div.flex.flex-col.p-3.opacity-50.text-sm
[:div.flex.flex-col.px-3.py-1.opacity-70.text-sm
(search-only state (name group-filter))])
(let [items (filter