fix: whiteboard page rename

This commit is contained in:
Tienson Qin
2023-10-16 23:33:08 +08:00
parent 73dbd0d665
commit 1d4118c97a
5 changed files with 6 additions and 13 deletions

View File

@@ -314,7 +314,7 @@
[?b :block/name]] db)
(map (fn [[{:block/keys [name] :as page}]]
(let [whiteboard? (contains? (:block/type page) "whiteboard")
(let [whiteboard? (contains? (set (:block/type page)) "whiteboard")
blocks (db/get-page-blocks-no-cache
(state/get-current-repo)
name