mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 09:56:31 +00:00
Merge branch 'master' into feat/db
This commit is contained in:
@@ -583,7 +583,7 @@
|
||||
(let [page (util/safe-page-name-sanity-lc page)
|
||||
[db-id block-type] (if (= page "contents")
|
||||
["contents" :contents]
|
||||
[page :page])]
|
||||
[(:db/id (db/pull [:block/name page])) :page])]
|
||||
(state/sidebar-add-block! current-repo db-id block-type)))
|
||||
(reset! sidebar-inited? true))))
|
||||
(when (state/mobile?)
|
||||
|
||||
Reference in New Issue
Block a user