fix: can't create page with the same name if namespace page exists

fixes https://github.com/logseq/db-test/issues/429
This commit is contained in:
Tienson Qin
2025-08-25 14:56:05 +08:00
parent 3888559b9d
commit 063aec02a7
7 changed files with 44 additions and 52 deletions

View File

@@ -891,7 +891,7 @@
:trigger (fn [chosen]
(state/pub-event! [:editor/hide-action-bar])
(state/clear-selection!)
(move-blocks! blocks (:source-page chosen) {:bottom? true}))}))
(move-blocks! blocks (:source-block chosen) {:bottom? true}))}))
(notification/show! "There's no block selected, please select blocks first." :warning))))
(defn delete-block!