fix: gantt block template incorrectly calls the calendar block when adding (#5673)

This commit is contained in:
Katherine 2024-11-18 19:42:28 +08:00 committed by GitHub
parent ed5c6edec6
commit 4723d7c0e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,7 +46,7 @@ export const GanttBlockInitializer = ({
return (
<DataBlockInitializer
{...itemConfig}
componentType={`Calendar`}
componentType={`Gantt`}
icon={<FormOutlined />}
onCreateBlockSchema={async (options) => {
if (createBlockSchema) {