fix: use ldb/page? to detect if a block is a page

pull/11458/head
Tienson Qin 2024-07-31 17:42:12 +08:00
parent dafa090fdc
commit afa574601f
1 changed files with 1 additions and 1 deletions

View File

@ -2479,7 +2479,7 @@
(when-not plugin-slotted?
[:div.block-head-wrap
(cond
(:block/name block)
(ldb/page? block)
[:div.flex.flex-row.items-center.gap-1
(page-cp config block)]