From 527878a55c1009bc00e016e06a54ef95a97c85ee Mon Sep 17 00:00:00 2001 From: CatsJuice Date: Fri, 7 Feb 2025 09:36:58 +0000 Subject: [PATCH] chore(core): allow to rename and add multiple template property (#9972) --- .../core/src/components/doc-properties/types/constant.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/frontend/core/src/components/doc-properties/types/constant.tsx b/packages/frontend/core/src/components/doc-properties/types/constant.tsx index b18ee64021..6404d5ea24 100644 --- a/packages/frontend/core/src/components/doc-properties/types/constant.tsx +++ b/packages/frontend/core/src/components/doc-properties/types/constant.tsx @@ -111,11 +111,10 @@ export const DocPropertyTypes = { description: 'com.affine.page-properties.property.pageWidth.tooltips', }, template: { - uniqueId: 'template', icon: TemplateIcon, value: TemplateValue, name: 'com.affine.page-properties.property.template', - renameable: false, + renameable: true, description: 'com.affine.page-properties.property.template.tooltips', }, } as Record<