mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 03:16:37 +00:00
@@ -1622,3 +1622,9 @@
|
||||
(defn get-visual-viewport-state
|
||||
[]
|
||||
(:ui/visual-viewport-state @state))
|
||||
|
||||
(defn sub-right-sidebar-blocks
|
||||
[]
|
||||
(when-let [current-repo (get-current-repo)]
|
||||
(->> (sub :sidebar/blocks)
|
||||
(filter #(= (first %) current-repo)))))
|
||||
|
||||
Reference in New Issue
Block a user