Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

chore(core): allow to rename and add multiple template property (#9972)

CatsJuice527878a55c10
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<