mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 02:46:45 +00:00
feat: cmd+c cmd+c to clear the right sidebar
This commit is contained in:
@@ -741,6 +741,10 @@
|
||||
[]
|
||||
(:sidebar/blocks @state))
|
||||
|
||||
(defn clear-sidebar-blocks!
|
||||
[]
|
||||
(set-state! :sidebar/blocks '()))
|
||||
|
||||
(defn sidebar-block-toggle-collapse!
|
||||
[db-id]
|
||||
(when db-id
|
||||
|
||||
Reference in New Issue
Block a user