mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 16:36:27 +00:00
Merge branch 'feat/db' into feat/namespace
This commit is contained in:
@@ -610,7 +610,7 @@
|
||||
(doseq [page pages]
|
||||
(let [page (util/safe-page-name-sanity-lc page)
|
||||
[db-id block-type] (if (= page "contents")
|
||||
["contents" :contents]
|
||||
[(or (:db/id (db/get-page page)) "contents") :contents]
|
||||
[(:db/id (db/get-page page)) :page])]
|
||||
(state/sidebar-add-block! current-repo db-id block-type)))
|
||||
(reset! sidebar-inited? true))))
|
||||
|
||||
Reference in New Issue
Block a user