Simplify sidebar data

This commit is contained in:
Tienson Qin
2022-05-07 08:03:35 +08:00
parent 02296835d2
commit 4fc479495e
15 changed files with 81 additions and 111 deletions

View File

@@ -754,8 +754,7 @@
(state/sidebar-add-block!
(state/get-current-repo)
(:db/id page)
:page
page)))
:page)))
(defn open-file-in-default-app []
(when-let [file-path (and (util/electron?) (get-page-file-path))]