fix: remove show blocks in outliner popup

pull/7336/head
Peng Xiao 2022-11-16 09:24:23 +08:00
parent 7cb215dd44
commit 01f25fdcb5
1 changed files with 1 additions and 6 deletions

View File

@ -259,12 +259,7 @@
(fn [open? refs-count] [:span.whiteboard-page-refs-count-label
(if (> refs-count 1) "References" "Reference")
(ui/icon (if open? "references-hide" "references-show")
{:extension? true})]))]
(dropdown-menu {:label "(DEV) Show blocks in outliner"
:classname "hidden"
:children
[:div.p-2 (page/page-blocks-cp (state/get-current-repo)
(model/get-page page-name) nil)]})]
{:extension? true})]))]]
(tldraw-app page-name block-id)]))
(rum/defc whiteboard-route